summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Sanford <jesse@jessesanford.com>2014-01-18 09:21:17 -0800
committerJesse Sanford <jesse@jessesanford.com>2014-01-18 09:21:17 -0800
commit82e6cd36e1ac8efa7f17190ee974da882ab996b0 (patch)
tree4e531b435ca2ec4e18978fe0eb5a6c5f8a35028a
parent2f27a580add330ecac22b8e9d168a1400972e244 (diff)
downloadnet-ssh-therealjessesanford-master.tar.gz
removed debug messagestherealjessesanford-master
-rw-r--r--lib/net/ssh/config.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/net/ssh/config.rb b/lib/net/ssh/config.rb
index 0a2e76e..821b574 100644
--- a/lib/net/ssh/config.rb
+++ b/lib/net/ssh/config.rb
@@ -59,8 +59,6 @@ module Net; module SSH
hash = translate(files.inject({}) { |settings, file|
load(file, host, settings)
})
- puts "FINAL AUTH METHODS: #{hash[:auth_methods]}"
- return hash
end
# Load the OpenSSH configuration settings in the given +file+ for the
@@ -133,11 +131,8 @@ module Net; module SSH
# +settings+ hash must have Strings for keys, all downcased, and
# the returned hash will have Symbols for keys.
def translate(settings)
- puts "SETTINGS AUTH METHODS: #{settings[:auth_methods]}"
-
settings.inject({}) do |hash, (key, value)|
hash[:auth_methods] ||= settings[:auth_methods]
- puts "CONSIDERING AUTH METHODS: #{hash[:auth_methods]}"
case key
when 'bindaddress' then
hash[:bind_address] = value