summaryrefslogtreecommitdiff
path: root/lib/net/ssh/verifiers/null.rb
blob: 6a0e2b9b542d9abe0648e992662816599b207d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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