Merge pull request #1633 from NeilW/add_ssh_username_to_log_message
Add ssh username to ssh connection log message
This commit is contained in:
commit
959f454f67
|
@ -194,7 +194,7 @@ module VagrantPlugins
|
|||
:verbose => :debug
|
||||
})
|
||||
|
||||
@logger.info("Attempting to connect to SSH: #{ssh_info[:host]}:#{ssh_info[:port]}")
|
||||
@logger.info("Attempting to connect to SSH: #{ssh_info[:host]}:#{ssh_info[:port]} as #{ssh_info[:username] || 'current_user'}.")
|
||||
Net::SSH.start(ssh_info[:host], ssh_info[:username], connect_opts)
|
||||
ensure
|
||||
# Make sure we output the connection log
|
||||
|
|
Loading…
Reference in New Issue