diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index 11b691167..dacd46807 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -192,6 +192,7 @@ func (c *comm) newSession() (*ssh.Session, error) { log.Println("opening new ssh session") session, err := c.client.NewSession() if err != nil { + log.Printf("ssh session open error: '%s', attempting reconnect", err) if err := c.reconnect(); err != nil { return nil, err }