[Ssh-sftp-perl-users] CAN connect via sftp command-line but NOT via perl sftp module
Brought to you by:
dbrobins
From: <joh...@us...> - 2009-07-17 14:39:05
|
<br><font size=2 face="sans-serif">trying to connect via perl Net::SFTP we keep getting "connection closed" type message immediately.. here is the log.. any help much appreciated :</font> <br> <br> <br><font size=2 face="sans-serif">scsefgsdcs01: Reading configuration data /home/nbs6hzw/.ssh/config</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Reading configuration data /etc/ssh_config</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Connecting to sftp.primebroker.com, port 22.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Remote protocol version 2.0, remote software version 6.0.11.5 SSH Tectia Server</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Net::SSH::Perl Version 1.27, protocol version 2.0.</font> <br><font size=2 face="sans-serif">.csefgsdcs01: No compat match: 6.0.11.5 SSH Tectia Server</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Connection established.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Sent key-exchange init (KEXINIT), wait response.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Algorithms, c->s: 3des-cbc hmac-sha1 none</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Algorithms, s->c: 3des-cbc hmac-sha1 none</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Entering Diffie-Hellman Group 1 key exchange.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Sent DH public key, waiting for reply.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Received host key, type 'ssh-dss'.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Host 'sftp.primebroker.com' is known and matches the host key.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Computing shared secret key.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Verifying server signature.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Waiting for NEWKEYS message.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Enabling incoming encryption/MAC/compression.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Send NEWKEYS, enable outgoing encryption/MAC/compression.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Sending request for user-authentication service.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Service accepted: ssh-userauth.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Trying empty user-authentication request.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Authentication methods that can continue: password,publickey,keyboard-interactive.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Next method to try is password.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Trying password authentication.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Login completed, opening dummy shell channel.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: new [client-session]</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Requesting channel_open for channel 0.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: open confirm rwindow 65536 rmax 32768</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Got channel open confirmation, requesting shell.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Requesting service shell on channel 0.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 1: new [client-session]</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Requesting channel_open for channel 1.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: rcvd close</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: output open -> drain</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: input open -> closed</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: close_read</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Sending subsystem: sftp</font> <br><font size=2 face="sans-serif">scsefgsdcs01: Requesting service subsystem on channel 1.</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 1: open confirm rwindow 65536 rmax 32768</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: obuf empty</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: output drain -> closed</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: close_write</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: send close</font> <br><font size=2 face="sans-serif">scsefgsdcs01: channel 0: full closed</font> <br><font size=2 face="sans-serif">scsefgsdcs01: sftp: Sending SSH2_FXP_INIT</font> <br><font size=2 face="sans-serif">Connection closed at /Falcon/stockloan/PROJECTS/DEV/nbs6hzw/lib/calFileUtil.pm line 428</font> <br><font size=2 face="sans-serif"> ...caught at /Falcon/stockloan/PROJECTS/DEV/nbs6hzw/lib/calFileUtil.pm line 431.</font> <br><font size=2 face="sans-serif"> at /Falcon/stockloan/PROJECTS/DEV/nbs6hzw/lib/calFileUtil.pm line 431</font> <br><font size=2 face="sans-serif"><br> John Varga<br> Director, BNP Paribas RCC, Inc<br> Securities Lending Technology<br> 201.850.5468 (W) 646.460.3800 (C)<br> joh...@us... <br> NYK...@am... </font> <pre> This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Please note that certain functions and services for BNP Paribas may be performed by BNP Paribas RCC, Inc.</pre> |