Reloading sshd without getting disconnected

Simon Geard delgarde at ihug.co.nz
Sun Dec 26 01:25:32 PST 2004


On Sat, 2004-12-25 at 11:28 +0000, S. Anthony Sequeira wrote: 
> Yes they do.  But so does the reload function in BLFS (mine at least).
> 
> And Debian does *not* drop the connection, but BLFS does.  The man page
> says:
> 
>      sshd rereads its configuration file when it receives a hangup
> signal,
>      SIGHUP, by executing itself with the name and options it was
> started
>      with, e.g., /usr/sbin/sshd.
> 
> It looks to me like Debian are doing something  special in their
> equivalent of functions, I couldn't be arsed to investigate this further
> right now.

In that case, are they patching the openssh code then to reload the
configuration in-process, instead of what amounts to the daemon
stop-starting itself?

Simon.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20041226/5ba5f54d/attachment.sig>


More information about the blfs-support mailing list