I got a strange "connection refused"

qin an anqin.qin at gmail.com
Wed Mar 19 12:57:32 EST 2008


Hi everybody,

I got a strange error message when I used the openssh.
When I run it with debug mode, like this:

#  /usr/local/sbin/sshd -d

I can open the session via ssh command. However,
when I run with daemon mode, the ssh client was
closed down and threw out the following message:

debug1: dispatch_run:dispatch done
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug1: channel 0: free: client-session, nchannels 1
Read from remote host localhost: Connection reset by peer
Connection to localhost closed.
debug1: Transferred: stdin 0, stdout 0, stderr 92 bytes in 0.0 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 18444.3
debug1: Exit status -1

Any help?


Thanks in advance,

Anqin


More information about the openssh-unix-dev mailing list