Re: Reloading host keys without sshd restart
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 17 Jul 2007 23:02:04 -0400
"ondrew" == ondrew <ondrew@xxxxxxxxx> writes:
ondrew> Hi, I'm trying to figure out which versions of OpenSSH
ondrew> automatically reload server keys
ondrew> (/etc/ssh/ssh_host_{dsa,rsa,}_key) when you change them
ondrew> without restarting the sshd daemon.
ondrew> I already know that 4.5p1 on GNU/Linux does automatically
ondrew> reload them, whereas 3.7.1p2 on HP-UX does not.
ondrew> I was searching through the source code of 4.5p1 trying to
ondrew> figure out, where the reload happens, so that I could grep
ondrew> through all the other sources, but I can't figure out, where
ondrew> exactly does it happen.
ondrew> To me it seems, like the server keys are loaded just once in
ondrew> the main() function of sshd.c to the structure sensitive_data
ondrew> and are stored there ever since. Therefore I don't understand
ondrew> the 4.5p1 behavior.
ondrew> Thanks very much for any help
ondrew> Ondra Novak
More recent versions of OpenSSH re-exec themselves for each connection.
--
Richard Silverman
res@xxxxxxxx
.
- References:
- Reloading host keys without sshd restart
- From: ondrew
- Reloading host keys without sshd restart
- Prev by Date: known_hosts file and public key authentication in ssh
- Next by Date: Re: known_hosts file and public key authentication in ssh
- Previous by thread: Reloading host keys without sshd restart
- Next by thread: Reloading host keys without sshd restart
- Index(es):