in reply to Net::SSH::Perl Canīt establish connection and execute commands
Something like this:
Try specifying "protocol => 2" or "cipher => 'blowfish-cbc'".use strict; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new('my_host') or die "$!"; $ssh->login('my_user', 'my_password'); my ($stdout, $stderr, $exit) = $ssh->cmd('ls'); print "$stdout";
|
|---|