I got a strange "connection refused"
    Damien Miller 
    djm at mindrot.org
       
    Thu Mar 20 08:08:48 EST 2008
    
    
  
On Wed, 19 Mar 2008, qin an wrote:
> 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
What does the server say when it disconnects the client?
-d
    
    
More information about the openssh-unix-dev
mailing list