Success story: Seamless OpenSSH upgrade
Corey Edwards
pluglist at plug.org
Tue Apr 29 15:14:20 MDT 2003
On Tue, 2003-04-29 at 13:21, Sasha Pachev wrote:
> Can be done remotely while you are logged in to through the old instance of
> sshd - just make sure not to accidently lose your shell in between sshd stop
> and start - probably a better way to do it is:
>
> /etc/rc.d/init.d/sshd stop; make install; /etc/rc.d/init.d/sshd start
>
> if you are doing it remotely
In this case, that's unnecessary. Your login is handled by the currently
running sshd process which won't be stopped by init.d/sshd stop. But
before you log out, make sure you can still log in from another
terminal.
The problem Sasha describes is one to worry about though. I've done it
with iptables and ifconfig before, although I'm sure there are plenty of
other ways.
Corey
More information about the PLUG
mailing list