RE: [Ssh-sftp-perl-users] Re: Ssh-sftp-perl-users digest, Vol 1 #121
Brought to you by:
dbrobins
From: Michael C. <mic...@mc...> - 2005-08-16 19:40:44
|
Thanks for the response. I tried using just SSH2. My program is having problems in the login call. At the Key Exchange it looks like is it erring in DH1.pm The system code is, this function, sub _dh_new_group1 { my $dh = Crypt::DH->new; $dh->g(2); $dh->p("0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC7402 0BBEA63B139B2251 4A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7E C6F44C42E9A637ED6B0B FF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFF FF"); _gen_key($dh); $dh; } One of the things that I do not understand is why it is trying to use a key set in the PM when I already have one. The dh-p call is the problem. I am not sure why this is happening. Michael Coons Dedicated Tech. Lead Work 303-305-5124 -----Original Message----- From: ssh...@li... [mailto:ssh...@li...] On Behalf Of john fisher Sent: Tuesday, August 16, 2005 9:59 AM To: ssh...@li... Subject: [Ssh-sftp-perl-users] Re: Ssh-sftp-perl-users digest, Vol 1 #121 try using SSH 2 only. (I had to use eval to trap errors.) BTW the following works on linux, but I set up in my CPAN install to use SSH2- my %args = (user => $user, password => $password , debug => 0) ; # set to one for verbose foreach my $file ( @$list ) { eval { my $sftp = Net::SFTP->new($remote, %args) ; my $storefile = $storefile_path. '/' . $file ; $sftp->put($file, $storefile) ;# can't use "or die" here without filtering the return }; } On Mon, 2005-08-15 at 20:39 -0700, ssh-sftp-perl-users- re...@li... wrote: > > Today's Topics: > > 1. Problem in NET::SSH::Perl Invalid arguments divll (Michael Coons) > > --__--__-- > > > $args{protocol} = "2,1"; > > End of Ssh-sftp-perl-users Digest -- John Fisher at Znyx Networks Santa Barbara office ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Ssh-sftp-perl-users mailing list Ssh...@li... https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |