I got a strange "connection refused"
qin an
anqin.qin at gmail.com
Sat Apr 19 16:39:09 EST 2008
It seems that you met the same trouble with me.
Also, I can not locate the segfault too.
On Fri, Apr 18, 2008 at 9:16 PM, Ian jonhson <jonhson.ian at gmail.com> wrote:
> I got a segment fault. It seems in a child process which calls the PAM
> authentication.
> But I have no idea how to locate the bug.
>
> Could anybody give me some advices?
>
> Thanks again.
>
>
>
>
>
> On Fri, Mar 21, 2008 at 12:20 AM, Peter Stuge
> <stuge-openssh-unix-dev at cdy.org> wrote:
> > 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 at mindrot.org
> > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> >
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list