mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-11 01:30:06 -04:00
Merge pull request #8375 from hashicorp/fix_8373
helper/communicator/step_connect_ssh: Update proxy connection settings to use `SSHProxyUsername` and `SSHProxyPassword`
This commit is contained in:
commit
261331ee2d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue