From 025fc87278cd920bf6bde879ab5ba8e119306ec9 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Mon, 18 Mar 2019 17:49:49 +0100 Subject: [PATCH] StepConnectSSH: show connection address in debug output --- helper/communicator/step_connect_ssh.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helper/communicator/step_connect_ssh.go b/helper/communicator/step_connect_ssh.go index 6d6c10271..032768dd0 100644 --- a/helper/communicator/step_connect_ssh.go +++ b/helper/communicator/step_connect_ssh.go @@ -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)