- or download this
use Net::SSH::Perl;
...
#$scon->login("username","password");
my($stdout, $stderr, $exit) = $ssh->cmd("foo");
$ssh->close;
- or download this
Error: Connection closed by remote host at D:\remote.pl line 40
- or download this
use Net::Telnet();
...
$telnet->open(host=> 'xx.xxx.xx.xxx', Port => 80);
$telnet->login('username', 'password');
print $telnet->cmd('who');
- or download this
Error: timed-out waiting for login prompt at D:\remote.pl line 74