mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
Which means that he is missing some key ciphers. This is a code snippet that recreates the problem on his server (basically just using Net::SFTP but its always good to show some code)No matching cipher found: client DES3 server aes128-cbc,3des-cbc,blowf +ish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysato +r.liu.se,aes128-ctr,aes192-ctr,aes256-ctr at /exlibris/product/perl-5 +.8.8/lib/site_perl/5.8.8/Net/SSH/Perl/SSH2.pm line 87
The best solution of course would to be re-install all the NET modules (SFTP, SSH) and make them use the correct ciphers, or to look at the SSH module and try to add a cipher.#!/usr/bin/perl use strict; use warnings; use Net::SFTP; ##All the credentials have been changed for privacy reasons my %args = (user=>'aaa', password=>'bbb'); my $ftp = new Net::SFTP('http://www.test.com',%args); ($get_code) = $ftp->get('temp1', 'temp2');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SFTP cipher problem
by zentara (Cardinal) on Mar 26, 2008 at 12:54 UTC | |
|
Re: Net::SFTP cipher problem
by ww (Archbishop) on Mar 26, 2008 at 11:39 UTC | |
|
Re: Net::SFTP cipher problem
by almut (Canon) on Mar 26, 2008 at 14:19 UTC | |
by mrguy123 (Hermit) on Mar 26, 2008 at 15:57 UTC | |
|
Re: Net::SFTP cipher problem
by Khen1950fx (Canon) on Mar 27, 2008 at 19:41 UTC | |
|
Re: Net::SFTP cipher problem
by salva (Canon) on Mar 26, 2008 at 22:49 UTC |