SSH log level fatal. Thanks @petejkim

This change makes it so that SSH errors are shown, whereas QUIET hid
those as well. The main change to QUIET was to get rid of warnings,
not errors, so this fixes that.
This commit is contained in:
Mitchell Hashimoto 2012-05-31 23:42:28 +02:00
parent cac79cf409
commit 1ef679f683
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@
- The check for whether a port is open or not is more complete. [GH-948]
- Files that are included with `vagrant package --include` now properly
preserve file attributes on earlier versions of Ruby. [GH-951]
- SSH uses LogLevel FATAL so that errors are still shown.
## 1.0.3 (May 1, 2012)

View File

@ -76,7 +76,7 @@ module Vagrant
# Command line options
command_options = ["-p", options[:port].to_s, "-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking=no", "-o", "LogLevel=QUIET"]
"-o", "StrictHostKeyChecking=no", "-o", "LogLevel=FATAL"]
# Solaris/OpenSolaris/Illumos uses SunSSH which doesn't support the IdentitiesOnly option
# (Also don't use it in plain mode, it'll skip user agents.)

View File

@ -7,7 +7,7 @@ Host <%= host_key %>
PasswordAuthentication no
IdentityFile <%= private_key_path %>
IdentitiesOnly yes
LogLevel QUIET
LogLevel FATAL
<% if forward_agent -%>
ForwardAgent yes
<% end -%>