How NOT to upgrade ssh remotely

As there was a security advisory yesterday I upgraded ssh on my home computer this morning.

I did it from work though, logged in remotely via ssh.

Which is generally a stupid thing to do, but I have done it before and had a script that took care of everything.

I forgot to run the script in the background though, so at the point when it killed sshd the session died and so did the script.

So the part that restarted sshd never ran.

Ah well, at least it’s secure. 🙂


It didn’t restart due to some new security measures that are now in place.

Also, X11 forwarding no longer works for some strange reason. Dunno why yet.