Files
metasploit-gs/lib/net/ssh/verifiers/null.rb
T
Tod Beardsley 810133acc2 Fixes #841. Initial commit for net-ssh by Jamis Buck. http://github.com/jamis/net-ssh
Note that net-ssh is no longer actively maintained: http://weblog.jamisbuck.org/2009/2/25/net-ssh-capistrano-and-saying-goodbye



git-svn-id: file:///home/svn/framework3/trunk@8523 4d416f70-5f16-0410-b530-b9f4589650da
2010-02-16 19:18:19 +00:00

12 lines
285 B
Ruby

module Net; module SSH; module Verifiers
# The Null host key verifier simply allows every key it sees, without
# bothering to verify. This is simple, but is not particularly secure.
class Null
# Returns true.
def verify(arguments)
true
end
end
end; end; end