Alex Rhomberg wrote:
Will sshd connection be maintained during the sshd stop/start like when
Shorewall is restarted? I would suspect that restarting sshd would cause
any existing ssh connections to be dropped, right?


I'm not sure about that, but I suspect the connection will be dropped with a sshd stop/start.


I recently upgraded to the new version and did not drop out of the session
when I ran
/etc/init.d/sshd restart

It really was a seamless upgrade :-)
- Alex


You are right, it does not drop existing connection. However, the existing connections keep running each on an instance of the old sshd version. Restart or "kill -HUP `cat /var/run/sshd.pid`" kills the old listening server and starts the new listening server, but does not affect the instances serving the current connections. Old connection instances go away only after the connections are closed by the connected users. New version sshd instances are forked on each new connection. (At least that appears to be how it works, and it conforms to the univeral unix fork/exec server model.)


Eric, thanks for pointing me to lrpkg -i. I figured there had to be a fairly simple way to do that but I couldn't find it in the manual or faq.

-gene



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to