Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2006 18:43:05 -0600
From:      Will Maier <willmaier@ml1.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: SSH with Public Key Authentication (Was: Re: Attention: Giorgos Keramidas (Was: CVS Import Permissions))
Message-ID:  <20060202004305.GM1940@merkur.atekomi.net>
In-Reply-To: <1138840074.5777.253333547@webmail.messagingengine.com>
References:  <1138676399.30955.253148220@webmail.messagingengine.com> <20060131094135.GA2042@flame.pc> <1138836616.370.253326484@webmail.messagingengine.com> <20060201234837.GA57878@flame.pc> <1138840074.5777.253333547@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 02, 2006 at 11:27:54AM +1100, david bryce wrote:
> What about on the freebsd server side? Are there any logfiles I can
> look at on the server? Thanks!

I often find it more useful to temporarily run a second sshd on an
alternate port, with stderr directed to the console and sshd in
no-detach and debug mode. Try the following:

    $ sshd -d -d -d -e -D -p 222

Then watch the output as you try to connect on that port
    
    $ sshd myhost -p 222

If you'd like, you can redirect the output to a file, too, but I
find that screen(1)'s scrollback usually is enough for me.

-- 

o--------------------------{ Will Maier }--------------------------o
| jabber:..wcmaier@jabber.ccc.de | email:..........wcmaier@ml1.net |
| \.........wcmaier@cae.wisc.edu | \..........wcmaier@cae.wisc.edu |
*------------------[ BSD Unix: Live Free or Die ]------------------*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060202004305.GM1940>