From a61fe833ef424594ea14e5aa77f16b6cb9b30ff1 Mon Sep 17 00:00:00 2001 From: nywilken Date: Fri, 15 Nov 2019 15:08:05 -0500 Subject: [PATCH] helper/communicator/step_connect_ssh: Update proxy connection settings to use `SSHProxyUsername` and `SSHProxyPassword` --- helper/communicator/step_connect_ssh.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/communicator/step_connect_ssh.go b/helper/communicator/step_connect_ssh.go index 07763e335..962615c3a 100644 --- a/helper/communicator/step_connect_ssh.go +++ b/helper/communicator/step_connect_ssh.go @@ -106,8 +106,8 @@ func (s *StepConnectSSH) waitForSSH(state multistep.StateBag, ctx context.Contex pAddr = fmt.Sprintf("%s:%d", s.Config.SSHProxyHost, s.Config.SSHProxyPort) if s.Config.SSHProxyUsername != "" { pAuth = new(proxy.Auth) - pAuth.User = s.Config.SSHBastionUsername - pAuth.Password = s.Config.SSHBastionPassword + pAuth.User = s.Config.SSHProxyUsername + pAuth.Password = s.Config.SSHProxyPassword } }