diff --git a/lib/ssh_scan/scan_engine.rb b/lib/ssh_scan/scan_engine.rb index 21e0e961..999e1ba6 100644 --- a/lib/ssh_scan/scan_engine.rb +++ b/lib/ssh_scan/scan_engine.rb @@ -96,7 +96,7 @@ def scan_target(socket, opts) target, :port => port, :timeout => timeout, - :paranoid => Net::SSH::Verifiers::Null.new + :paranoid => false ) raise SSHScan::Error::ClosedConnection.new if net_ssh_session.closed? auth_session = Net::SSH::Authentication::Session.new( diff --git a/ssh_scan.gemspec b/ssh_scan.gemspec index f90b607a..d0a6a969 100644 --- a/ssh_scan.gemspec +++ b/ssh_scan.gemspec @@ -32,7 +32,7 @@ Gem::Specification.new do |s| s.add_dependency('bindata', '2.4.3') s.add_dependency('netaddr', '1.5.1') - s.add_dependency('net-ssh', '4.2.0') + s.add_dependency('net-ssh', '5.0.2') s.add_dependency('sshkey') s.add_development_dependency('pry', '0.11.3') s.add_development_dependency('rspec', '3.7.0')