Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Net::SSH::Perl problems with $ssh->login and $ssh->cmd - function

by crouchingpenguin (Priest)
on Jun 25, 2003 at 12:36 UTC ( #268836=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://268836]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-06-01 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?