A qualcuno potrebbe tornare comodo. questo miniscript permette di avere informazioni (ad esempio un sh ip route summary) da un router Cisco configurato per rispondere in SSH. usage: nome_script <IP> <USER> <PASSWORD> <ENABLE_PASSWORD> #!/usr/bin/perl # use Net::SSH2; $ip=$ARGV[0]; $user=$ARGV[1]; $password=$ARGV[2]; $enable=$ARGV[3]; my $ssh2 = Net::SSH2->new(); $ssh2->connect("$ip") or die; if ($ssh2->auth_password("$user","$password")) { my $chan2 = $ssh2->channel(); [...]