[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: : ssh weirdnesses [#unk-5103-20135428]



 > Date: Tue, 20 May 2003 11:23:42 -0400
 > From: nek_RESIN <http://www.csoft.net/~nekhbet>
 >
 > On Tue, May 20, 2003 at 01:55:23PM -0000, http://dummy.us.eu.org/robert wrote:
 > > This may just be me, but I suddenly started getting:
 > > 
 > > Read from remote host csoft.net: Connection reset by peer
 > > 
 > > whenever I do
 > > 
 > > ssh -l  csoft.net 'echo foo'
 > > 
 > > This is making it impossible to transfer files to and from my account nor pick up my e-mail.
 > > 
 > > I can successfully "ssh -l  csoft.net", but an interactive shell is not what I want.
 > >
 >
 > What commands are you typing? I can scp files to and from leary. What
 > version of ssh are you running? Can you debug it with '-v'?

I've included the "bad ssh" (adding a command) and below that a "good ssh"
(without a command) below.

Hopefully you can figure out what's happening.

 > > Thanks.

ssh -v -l  csoft.net 'echo foo'
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /home/robert/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to csoft.net [63.111.22.80] port 22.
debug1: Connection established.
debug1: identity file /home/robert/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1 Debian 1:3.4p1-1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'csoft.net' is known and matches the RSA1 host key.
debug1: Found key in /home/robert/.ssh/known_hosts:7
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication with key '/home/robert/.ssh/identity'
debug1: Received RSA challenge from server.
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Requesting compression at level 9.
debug1: Enabling compression at level 9.
debug1: Requesting X11 forwarding with authentication spoofing.
Warning: Remote host denied X11 forwarding.
debug1: Sending command: echo foo
debug1: Entering interactive session.
debug1: fd 1 setting O_NONBLOCK
debug1: fd 1 clearing O_NONBLOCK
Read from remote host csoft.net: Connection reset by peer
debug1: Transferred: stdin 0, stdout 0, stderr 59 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1212.2
debug1: Exit status -1
debug1: compress outgoing: raw data 76, compressed 79, factor 1.04
debug1: compress incoming: raw data 1, compressed 5, factor 5.00

ssh -v -l  csoft.net
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /home/robert/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to csoft.net [63.111.22.80] port 22.
debug1: Connection established.
debug1: identity file /home/robert/.ssh/identity type 0
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
debug1: match: OpenSSH_3.5p1 pat OpenSSH*
debug1: Local version string SSH-1.5-OpenSSH_3.4p1 Debian 1:3.4p1-1
debug1: Waiting for server public key.
debug1: Received server public key (768 bits) and host key (1024 bits).
debug1: Host 'csoft.net' is known and matches the RSA1 host key.
debug1: Found key in /home/robert/.ssh/known_hosts:7
debug1: Encryption type: 3des
debug1: Sent encrypted session key.
debug1: cipher_init: set keylen (16 -> 32)
debug1: cipher_init: set keylen (16 -> 32)
debug1: Installing crc compensation attack detector.
debug1: Received encrypted confirmation.
debug1: Trying RSA authentication with key '/home/robert/.ssh/identity'
debug1: Received RSA challenge from server.
debug1: Sending response to host key RSA challenge.
debug1: Remote: RSA authentication accepted.
debug1: RSA authentication accepted by server.
debug1: Requesting compression at level 9.
debug1: Enabling compression at level 9.
debug1: Requesting pty.
debug1: Requesting X11 forwarding with authentication spoofing.
Warning: Remote host denied X11 forwarding.
debug1: fd 3 setting TCP_NODELAY
debug1: Requesting shell.
debug1: Entering interactive session.
debug1: fd 1 setting O_NONBLOCK
Last login: Tue May 20 13:23:33 2003 from pool-141-154-57-30.bos.east.verizon.net
leary:/home/ users% exit
logout
^[[H^[[2Jdebug1: fd 1 clearing O_NONBLOCK
Connection to csoft.net closed.
debug1: Transferred: stdin 5, stdout 1004, stderr 33 bytes in 1.8 seconds
debug1: Bytes per second: stdin 2.8, stdout 554.9, stderr 18.2
debug1: Exit status 0
debug1: compress outgoing: raw data 230, compressed 218, factor 0.95
debug1: compress incoming: raw data 1061, compressed 692, factor 0.65



Why do you want this page removed?