Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #441 from mozilla/prepare_for_netssh_5.x
Browse files Browse the repository at this point in the history
Make ssh_scan netssh 5.x compatable
  • Loading branch information
Jonathan Claudius authored Dec 19, 2018
2 parents 83aa8b0 + 2d81b6b commit efa2fcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ssh_scan/scan_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion ssh_scan.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit efa2fcd

Please sign in to comment.