[Ssh-sftp-perl-users] SFTP::Problem
Brought to you by:
dbrobins
|
From: Cali <cit...@in...> - 2005-10-03 16:24:17
|
Hi everyone i´ve having a problem witg my script, im trying to send a
file from one PC to another. this is my code:
$sftp =
Net::SFTP->new($host,user=>'yyy',password=>'xx',debug=>1,\&callback);
$sftp->put('/home/xml.pm','/home/' );
and this is what i got on the screen:
Desarollo: Reading configuration data /home/cguerrero/.ssh/config
Desarollo: Reading configuration data /etc/ssh_config
Desarollo: Connecting to 10.22.3.86, port 22.
Desarollo: Remote protocol version 2.0, remote software version
OpenSSH_3.9p1
Desarollo: Net::SSH::Perl Version 1.25, protocol version 2.0.
Desarollo: No compat match: OpenSSH_3.9p1.
Desarollo: Connection established.
Desarollo: Sent key-exchange init (KEXINIT), wait response.
Desarollo: Algorithms, c->s: 3des-cbc hmac-sha1 none
Desarollo: Algorithms, s->c: 3des-cbc hmac-sha1 none
Desarollo: Entering Diffie-Hellman Group 1 key exchange.
Desarollo: Sent DH public key, waiting for reply.
Desarollo: Received host key, type 'ssh-dss'.
Desarollo: Host '10.22.3.86' is known and matches the host key.
Desarollo: Computing shared secret key.
Desarollo: Verifying server signature.
Desarollo: Waiting for NEWKEYS message.
Desarollo: Enabling incoming encryption/MAC/compression.
Desarollo: Send NEWKEYS, enable outgoing encryption/MAC/compression.
Desarollo: Sending request for user-authentication service.
Desarollo: Service accepted: ssh-userauth.
Desarollo: Trying empty user-authentication request.
Desarollo: Authentication methods that can continue:
publickey,password,keyboard-interactive.
Desarollo: Next method to try is publickey.
Desarollo: Next method to try is password.
Desarollo: Trying password authentication.
Desarollo: Login completed, opening dummy shell channel.
Desarollo: channel 0: new [client-session]
Desarollo: Requesting channel_open for channel 0.
Desarollo: channel 0: open confirm rwindow 0 rmax 32768
Desarollo: Got channel open confirmation, requesting shell.
Desarollo: Requesting service shell on channel 0.
Desarollo: channel 1: new [client-session]
Desarollo: Requesting channel_open for channel 1.
Desarollo: Sending subsystem: sftp
Desarollo: Requesting service subsystem on channel 1.
Desarollo: channel 1: open confirm rwindow 0 rmax 32768
Desarollo: sftp: Sending SSH2_FXP_INIT
Desarollo: sftp: Remote version: 3
Desarollo: sftp: Sent SSH2_FXP_OPEN I:0 P:/home/cguerrero/citlali/
Couldn't get handle: Failure at
/usr/lib/perl5/vendor_perl/5.8.6/Net/SFTP.pm line 166.
Desarollo: sftp: Sent message SSH2_FXP_WRITE I:1 O:0
Couldn't write to remote file: Failure at
/usr/lib/perl5/vendor_perl/5.8.6/Net/SFTP.pm line 261.
Desarollo: sftp: Sent message T:4 I:2
Couldn't close file: No such file or directory at
/usr/lib/perl5/vendor_perl/5.8.6/Net/SFTP.pm line 201.
Does anyone knows what is this?? or what it means??
|