Re: [Ssh-sftp-perl-users] Problems connecting to one site but notanother
Brought to you by:
dbrobins
From: Ian D. <Ian...@bd...> - 2008-01-24 16:55:55
|
Just as a follow up to this, here is the debug log for a manual connection to the two sites. =20 Domain1.com, manual connection =20 $ ssh -v use...@do... OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to domain1 [111.111.111.111] port 22. debug1: Connection established. debug1: identity file /home/username/.ssh/identity type -1 debug1: identity file /home/username/.ssh/id_rsa type 1 debug1: identity file /home/username/.ssh/id_dsa type 2 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.7.1p2 debug1: match: OpenSSH_3.7.1p2 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.9p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'domain1' is known and matches the RSA host key. debug1: Found key in /home/username/.ssh/known_hosts:9 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received =20 debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/username/.ssh/identity debug1: Offering public key: /home/username/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 149 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: channel 0: free: client-session, nchannels 1 Connection to domain1 closed by remote host. Connection to domain1 closed. debug1: Transferred: stdin 0, stdout 0, stderr 105 bytes in 0.0 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 5909.2 debug1: Exit status -1 =20 domain2.com manual connection =20 $ ssh -v use...@do... OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Connecting to domain2.com [111.111.111.111] port 22. debug1: Connection established. debug1: identity file /home/username/.ssh/identity type -1 debug1: identity file /home/username/.ssh/id_rsa type 1 debug1: identity file /home/username/.ssh/id_dsa type 2 debug1: Remote protocol version 2.0, remote software version JSCAPE3.4.0 debug1: no match: JSCAPE3.4.0 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.9p1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client 3des-cbc hmac-md5 none debug1: kex: client->server 3des-cbc hmac-md5 none debug1: sending SSH2_MSG_KEXDH_INIT debug1: expecting SSH2_MSG_KEXDH_REPLY debug1: Host 'domain2.com' is known and matches the RSA host key. debug1: Found key in /home/username/.ssh/known_hosts:49 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: password,publickey debug1: Next authentication method: publickey debug1: Trying private key: /home/username/.ssh/identity debug1: Offering public key: /home/username/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 149 debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: Entering interactive session. =20 Regards Ian =20 This email is confidential and intended solely for the use of the individ= ual to whom it is addressed. Any views or opinions presented are solely t= hose of the author and do not necessarily represent those of RedBee Media= Metadata. If you are not the intended recipient, be advised that you hav= e received this email in error and that any use, dissemination, forwardin= g, printing, or copying of this email is strictly prohibited. If you have= received this email in error please notify the sender. Red Bee Media Metadata is a trading name of Broadcasting Dataservices Lim= ited.=20 Registered in England and Wales No.: 2554733. Registered Office: 201 Wood= Lane, London W12 7TP, UK.=20 Broadcasting Dataservices Limited is a wholly owned subsidiary of Red Bee= Media Limited. |