Two patches for OpenSSH 3.1p1

Jos Backus josb at cncdsl.com
Wed Mar 27 08:52:16 EST 2002


On Tue, Mar 26, 2002 at 10:21:31PM +0100, Peter Eriksson wrote:
> It is *not* sufficent to just use the "-D" (no daemon) flag since that
> doesn't correctly handle log file output, closing of stdin/stdout/stderr
> or the setsid() call to drop the controlling TTY.

Note that when running sshd under a process controller such as AIX's SRC or
djb's daemontools you don't want any of these to happen, so the use of the
word ``correctly'' is not entirely appropriate here. ``-D'' does fullfil its
intended purpose.

-- 
Jos Backus                 _/  _/_/_/        Santa Clara, CA
                          _/  _/   _/
                         _/  _/_/_/             
                    _/  _/  _/    _/
josb at cncdsl.com     _/_/   _/_/_/            use Std::Disclaimer;



More information about the openssh-unix-dev mailing list