-
Notifications
You must be signed in to change notification settings - Fork 103
Can't fix this problem #429
Comments
@mariobranco you have to supply a target, like this...
If you have a specific example case, please let me know |
Hello @claudijd, I encounter the same issue as was mentioned above when I specify some non-standard port, e.g.:
Output after executing this command:
If I am not mistaken, the problem could be with ssh-keyscan in scan_engine.rb, line 127: stdin, stdout, stderr, wait_thr = Open3.popen3('ssh-keyscan', '-t', 'rsa,dsa', target) If other port is specified, ssh-keyscan ignores it and there is no output to parse. stdin, stdout, stderr, wait_thr = Open3.popen3('ssh-keyscan', '-t', 'rsa,dsa', '-p', port.to_s, target) Thank you for looking into it. |
fixes #429: Add the missing port argument to ssh_keyscan
props to @jinankjain to beating me to the punch on this! Also, thanks @ondrejkelemen and @mariobranco for reporting, I'll try to get a fixed release out today. |
33 has been released to fix this => https://twitter.com/claudijd/status/963443576238723072 |
Command: ssh_scan -t [TARGET]
Output:
/var/lib/gems/2.3.0/gems/ssh_scan-0.0.32/lib/ssh_scan/scan_engine.rb:138:in
scan_target': undefined method
split' for nil:NilClass (NoMethodError)from /var/lib/gems/2.3.0/gems/ssh_scan-0.0.32/lib/ssh_scan/scan_engine.rb:191:in `block (2 levels) in scan'
Can't find the solution for my problem.
Any tip please ?
The text was updated successfully, but these errors were encountered: