pinnacle has asked for the wisdom of the Perl Monks concerning the following question:
I am getting "cipher" error while logging into linux box
#!/usr/bin/perl use Net::SSH::Perl; use Math::BigInt::GMP; use strict; use warnings; my $host = "xx.xx.xx.xx"; print "SSHing into $host...\n"; my $user = "xxxx"; my $passwd = "xxxxx"; my $cmd = "ls -l /root"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user,$passwd); my ($output, $error, $exit) = $ssh->cmd($cmd); print $output;
Error Message
SSHing into xx.xx.xx.xx... No matching cipher found: client 3des-cbc,blowfish-cbc,arcfour server aes256-cbc at /usr/lib/perl5/vendor_perl/5.8.5/Net/SSH/Perl/SSH2.pm line 92
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unable to ssh in linux box
by JavaFan (Canon) on May 18, 2011 at 00:50 UTC | |
|
Re: Unable to ssh in linux box
by Argel (Prior) on May 17, 2011 at 23:04 UTC | |
by pinnacle (Acolyte) on May 18, 2011 at 00:08 UTC | |
by Bloodnok (Vicar) on May 18, 2011 at 15:13 UTC | |
by pinnacle (Acolyte) on May 19, 2011 at 16:24 UTC | |
|
Re: Unable to ssh in linux box
by salva (Canon) on May 18, 2011 at 08:34 UTC | |
|
Re: Unable to ssh in linux box
by Argel (Prior) on May 18, 2011 at 19:19 UTC |