summaryrefslogtreecommitdiff
path: root/lib/net/ssh/config.rb
diff options
context:
space:
mode:
authordelano <delano@delanotes.com>2014-02-11 14:23:11 -0500
committerdelano <delano@delanotes.com>2014-02-11 14:23:11 -0500
commita1a23b7738392c1544f76482f568733a6e645c4b (patch)
treec8c43b49b3046ef1e51173acc92e50239a1eb021 /lib/net/ssh/config.rb
parent3125b2d9f58991645c49dca47c556cbe2b9a4748 (diff)
downloadnet-ssh-hotfix-password-prompt.tar.gz
Re-introduce hostbased auth by default (investigating #145)hotfix-password-prompt
Diffstat (limited to 'lib/net/ssh/config.rb')
-rw-r--r--lib/net/ssh/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/config.rb b/lib/net/ssh/config.rb
index 027d099..7d1fedc 100644
--- a/lib/net/ssh/config.rb
+++ b/lib/net/ssh/config.rb
@@ -41,7 +41,7 @@ module Net; module SSH
# http://lwn.net/Articles/544640/
# "hostbased" is off and "none" is not supported but we allow it since
# it's used by some clients to query the server for allowed auth methods
- @@default_auth_methods = %w(none publickey password keyboard-interactive)
+ @@default_auth_methods = %w(none publickey hostbased password keyboard-interactive)
# Returns an array of locations of OpenSSH configuration files
# to parse by default.