Doh!

The ssh -D option does what I want, and works!
I've modified /etc/init.d/sshd to add the -D option when it starts
/usr/sbin/sshd.

All works now. Can start and stop and check status with the rc scripts. 

The question is, why did it not work out-of-the box for me? I
shouldn't have to hack
the rc scripts.

On 14/08/05, Volker Kuhlmann <[EMAIL PROTECTED]> wrote:
> > thanks Craig!) through my firewall. However, once the session is
> > finished (or the password/username is incorrect 3 times in a row),
> > then ssh -d exits. Maybe it isn't forking correctly for each
> > connection?
> 
> Uuum, man sshd:
> 
>   -d      Debug mode.  The server sends verbose debug output to the system
>           log, and does not put itself in the background.  The server also
>           will not fork and will only process one connection.  This option
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>           is only intended for debugging for the server.  Multiple -d
>           options increase the debugging level.  Maximum is 3.
> 
> Volker
> 
> --
> Volker Kuhlmann                 is possibly list0570 with the domain in header
> http://volker.dnsalias.net/             Please do not CC list postings to me.
>

Reply via email to