[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why can I upgrade SSH via SSH?



On Mon, Mar 11, 2002 at 07:50:28PM -0500, Kurt Lieber wrote:
> I was ssh'd in to a remote machine doing an apt-get upgrade and watched 
> patiently as it upgraded ssh to the latest patched version.
> 
> I also watched as it restarted the sshd daemon without terminating my 
> existing ssh connection.  How is that possible?  Wouldn't restarting the 
> daemon kill all existing instances of that daemon?

If sshd forks to handle incoming connections, then it's parent can exit
without adversely affecting the child process.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: