StepConnectSSH: show connection address in debug output
This commit is contained in:
parent
c214f6735b
commit
025fc87278
|
@ -186,7 +186,8 @@ func (s *StepConnectSSH) waitForSSH(state multistep.StateBag, cancel <-chan stru
|
||||||
Timeout: s.Config.SSHReadWriteTimeout,
|
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)
|
comm, err = ssh.New(address, config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[DEBUG] SSH handshake err: %s", err)
|
log.Printf("[DEBUG] SSH handshake err: %s", err)
|
||||||
|
|
Loading…
Reference in New Issue