StepConnectSSH: show connection address in debug output

This commit is contained in:
Adrien Delorme 2019-03-18 17:49:49 +01:00
parent c214f6735b
commit 025fc87278
1 changed files with 2 additions and 1 deletions

View File

@ -186,7 +186,8 @@ func (s *StepConnectSSH) waitForSSH(state multistep.StateBag, cancel <-chan stru
Timeout: s.Config.SSHReadWriteTimeout,
}
log.Println("[INFO] Attempting SSH connection...")
log.Println("[INFO] Attempting SSH connection to %s...", address)
log.Println("[DEBUG] Config to %#v...", config)
comm, err = ssh.New(address, config)
if err != nil {
log.Printf("[DEBUG] SSH handshake err: %s", err)