in reply to Net::SSH::Perl hanging on creating object
perl -e '$a=`nmap -sS -P0 -p 22 --host-timeout 30s -oG - hostname.doma +in`; if($a=~/Status: (\w+).*?Ports: 22\/(\w+)/gsi) {print "Host statu +s: $1, SSH service: $2\n"} else {warn $a}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH::Perl hanging on creating object
by i5513 (Pilgrim) on Jun 09, 2011 at 17:25 UTC |