llass61 has asked for the wisdom of the Perl Monks concerning the following question:
It hangs, this is the response I get.use Net::SFTP; my %args = ( user => 'ME', debug => '1', password => 'PASS' ); my $sftp = Net::SFTP->new('localhost', %args); print "Connected.....\n"; exit(0); } else { warn "auth failed.\n"; }
Any help would be greatly appreciated. Larryhipaatest: Reading configuration data /dev/fs/D/home/hipaa/.ssh/config hipaatest: Reading configuration data /etc/ssh_config hipaatest: Connecting to localhost, port 22. hipaatest: Remote version string: SSH-1.99-OpenSSH_4.6 hipaatest: Remote protocol version 1.99, remote software version OpenS +SH_4.6 Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at C:/Perl/site/lib/Crypt/DH.pm line 6 hipaatest: Net::SSH::Perl Version 1.30, protocol version 2.0. hipaatest: No compat match: OpenSSH_4.6. hipaatest: Connection established. hipaatest: Sent key-exchange init (KEXINIT), wait response. hipaatest: Algorithms, c->s: 3des-cbc hmac-sha1 none hipaatest: Algorithms, s->c: 3des-cbc hmac-sha1 none hipaatest: Entering Diffie-Hellman Group 1 key exchange. hipaatest: Sent DH public key, waiting for reply. Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at C:/Perl/site/lib/Crypt/DSA/KeyChain.pm line 6 Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at C:/Perl/site/lib/Crypt/DSA/Key.pm line 6 Math::BigInt: couldn't load specified math lib(s), fallback to Math::B +igInt::Fas tCalc at C:/Perl/site/lib/Crypt/DSA/Util.pm line 6 hipaatest: Received host key, type 'ssh-dss'. hipaatest: Host 'localhost' is known and matches the host key. hipaatest: Computing shared secret key. hipaatest: Verifying server signature. hipaatest: Waiting for NEWKEYS message. hipaatest: Enabling incoming encryption/MAC/compression. hipaatest: Send NEWKEYS, enable outgoing encryption/MAC/compression. hipaatest: Sending request for user-authentication service. hipaatest: Service accepted: ssh-userauth. hipaatest: Trying empty user-authentication request. hipaatest: Authentication methods that can continue: publickey,passwor +d,hostbase d. hipaatest: Next method to try is publickey. hipaatest: Next method to try is password. hipaatest: Trying password authentication. hipaatest: Login completed, opening dummy shell channel. hipaatest: channel 0: new [client-session] hipaatest: Requesting channel_open for channel 0. hipaatest: channel 0: open confirm rwindow 0 rmax 32768 hipaatest: channel 1: new [client-session] hipaatest: Requesting channel_open for channel 1. hipaatest: Sending subsystem: sftp hipaatest: Requesting service subsystem on channel 1. hipaatest: channel 1: open confirm rwindow 0 rmax 32768 hipaatest: sftp: Sending SSH2_FXP_INIT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem with net::sftp
by leocharre (Priest) on Jul 24, 2008 at 02:14 UTC | |
by salva (Canon) on Jul 24, 2008 at 06:49 UTC | |
|
Re: problem with net::sftp
by aquarium (Curate) on Jul 24, 2008 at 01:16 UTC | |
|
Re: problem with net::sftp
by Khen1950fx (Canon) on Jul 24, 2008 at 21:55 UTC | |
by scoobyrico (Beadle) on May 20, 2009 at 22:09 UTC | |
|
Re: problem with net::sftp
by salva (Canon) on Jul 24, 2008 at 07:01 UTC |