http://qs321.pair.com?node_id=268836


in reply to Net::SSH::Perl problems with $ssh->login and $ssh->cmd - function

You want to use a CBC cipher with your Net::SSH::Perl object. Change your constructor to:

my $ssh = Net::SSH::Perl->new($host, cipher => '3des-cbc' || 'blowfish-cbc', );

cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."
  • Comment on Re: Net::SSH::Perl problems with $ssh->login and $ssh->cmd - function
  • Download Code

Replies are listed 'Best First'.
Re: Re: Net::SSH::Perl problems with $ssh->login and $ssh->cmd - function
by polyp (Initiate) on Jun 25, 2003 at 13:36 UTC
    Is it possible to use ordinary DES cipher because as the next error says - the remote host does not support 3des.

    Error: Selected cipher type 3des-cbc not supported by server.

    Markus