I got a strange "connection refused"

Peter Stuge stuge-openssh-unix-dev at cdy.org
Fri Mar 21 03:20:31 EST 2008


On Thu, Mar 20, 2008 at 01:04:52PM +0800, qin an wrote:
> 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 Linux you can use strace:

ps $(pidof sshd)

and then

strace -fFs 256 -o output.txt put_proper_pid_here

Do the connection, then send Ctrl-C to strace. It will exit.


//Peter


More information about the openssh-unix-dev mailing list