diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2015-09-01 18:28:28 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2015-09-01 18:28:28 -0700 |
commit | ca0726ef3c7c89533d5bd4146fcb3f20e2a50b80 (patch) | |
tree | e351528d00e05cbf1009c58e3fdac845112c31bd | |
parent | b63f742a826be3b97e9eea34f725fbdbdfc87aa8 (diff) | |
download | chef-ca0726ef3c7c89533d5bd4146fcb3f20e2a50b80.tar.gz |
Missed a variable while moving code around.
-rw-r--r-- | lib/chef/knife/ssh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/ssh.rb b/lib/chef/knife/ssh.rb index a34e790c30..5ccef3000d 100644 --- a/lib/chef/knife/ssh.rb +++ b/lib/chef/knife/ssh.rb @@ -141,7 +141,7 @@ class Chef prompt = "Enter the password for #{user}@#{gw_host}: " gw_opts[:password] = prompt_for_password(prompt) # Try again with a password. - session.via(gw_host, user, gw_opts) + session.via(gw_host, gw_opts[:user], gw_opts) end end end |