Re: I got a strange "connection refused"

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; On Thu, Mar 20, 2008 at 01:04:52PM +0800, qin an wrote: > If I run with -d, all ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-20-2008
Peter Stuge
 
Posts: n/a
Default Re: I got a strange "connection refused"

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
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0