PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > Reloading host keys without sshd restart
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

Reloading host keys without sshd restart

Réponse
 
LinkBack Outils de la discussion
Vieux 17/07/2007, 08h02   #1
ondrew@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Reloading host keys without sshd restart

Hi,

I'm trying to figure out which versions of OpenSSH automatically
reload server keys (/etc/ssh/ssh_host_{dsa,rsa,}_key) when you change
them without restarting the sshd daemon.

I already know that 4.5p1 on GNU/Linux does automatically reload them,
whereas 3.7.1p2 on HP-UX does not.

I was searching through the source code of 4.5p1 trying to figure out,
where the reload happens, so that I could grep through all the other
sources, but I can't figure out, where exactly does it happen.

To me it seems, like the server keys are loaded just once in the
main() function of sshd.c to the structure sensitive_data and are
stored there ever since. Therefore I don't understand the 4.5p1
behavior.

Thanks very much for any

Ondra Novak

  Réponse avec citation
Vieux 18/07/2007, 04h02   #2
Richard E. Silverman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Reloading host keys without sshd restart

>>>>> "ondrew" == ondrew <ondrew@gmail.com> 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

ondrew> Ondra Novak

More recent versions of OpenSSH re-exec themselves for each connection.

--
Richard Silverman
res@qoxp.net

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h20.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07061 seconds with 10 queries