This is a discussion on Re: I got a strange "connection refused" within the OpenSSH Development forums, part of the Networking and Network Related category; If I run with -d, all is OK. However, when I run sshd in daemon, it clashed. I don't ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If I run with -d, all is OK. However, when I run sshd in
daemon, it clashed. I don't know how to collect the debug information in this case. On Thu, Mar 20, 2008 at 5:08 AM, Damien Miller <djm@mindrot.org> wrote: > > 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 > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org https://lists.mindrot.org/mailman/li...enssh-unix-dev |
![]() |
| Thread Tools | |
| Display Modes | |
|
|