diff --git a/communicator/ssh/communicator.go b/communicator/ssh/communicator.go index 17a616029..642b270dc 100644 --- a/communicator/ssh/communicator.go +++ b/communicator/ssh/communicator.go @@ -118,6 +118,7 @@ func (c *comm) Start(cmd *packer.RemoteCmd) (err error) { go func() { failures := 0 for { + log.Printf("[DEBUG] Background SSH connection checker is testing") dummy, err := c.config.Connection() if err == nil { failures = 0 diff --git a/communicator/ssh/connect.go b/communicator/ssh/connect.go index 3ea91ce97..1408ff428 100644 --- a/communicator/ssh/connect.go +++ b/communicator/ssh/connect.go @@ -11,7 +11,6 @@ import ( // is suitable for use with the SSH communicator configuration. func ConnectFunc(network, addr string) func() (net.Conn, error) { return func() (net.Conn, error) { - log.Printf("Opening conn for SSH to %s %s", network, addr) return net.DialTimeout(network, addr, 15*time.Second) } }