lib/net/ssh/verifiers/accept_new.rb in net-ssh-6.2.0.rc2 vs lib/net/ssh/verifiers/accept_new.rb in net-ssh-6.3.0.beta1
- old
+ new
@@ -3,11 +3,10 @@
require 'net/ssh/verifiers/always'
module Net
module SSH
module Verifiers
-
# Does a strict host verification, looking the server up in the known
# host files to see if a key has already been seen for this server. If this
# server does not appear in any host file, this will silently add the
# server. If the server does appear at least once, but the key given does
# not match any known for the server, an exception will be raised (HostKeyMismatch).
@@ -27,9 +26,8 @@
rescue HostKeyUnknown => err
err.remember_host!
return true
end
end
-
end
end
end