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

Remote update of ssh(d)



Hi list,

I ran an update of ssh to 3.6.1p2-8 due to the recent errors in OpenSSH
on a system with remote access only.

Afterwards I noticed, that the Version which sshd reports was still
the old one. /etc/init.d/ssh restart seemed to have no effect.
Presumably caused by my ssh connection, which was ((and had to be) still
established. The top process of sshd was not killed/replaced.

The only workaround I found was the following:
- stop the firewall
- attach ssh to another port
- connect to the new port
- kill(!) the old sshd top process (ssh restart is not sufficient,   
  because the start-stop-daemon does not use this pid anymore)
- attach ssh back to port 22
- start the firewall
- kill the sshd listening on the other port

This is obviously quite annoying.

Does anyone know a more comfortable way to replace a sshd on a remote
administrated box?

Regards,

Philipp Hartmann





Reply to: