Upgrading SSH

This is really just a note to myself:

Instructions for older versions of Slackware

First, make sure your OpenSSL is up to date:

(CAUTION – if you have Red Hat then read this: http://www.openssl.org/support/faq.html#BUILD8 )


wget http://www.openssl.org/source/openssl-1.0.0d.tar.gz (or later when available)


./config –prefix=/usr shared


make test

make install

get openssh http://www.openssh.com/portable.html

You might need to upgrade zlib: http://www.zlib.net/

wget http://ftp.plig.net/pub/OpenBSD/OpenSSH/portable/openssh-5.8p2.tar.gz

./configure –prefix=/ –exec-prefix=/usr


See http://www.digitalpeer.com/id/upgrade

1. Rename the old sshd binary
2. Modify the old sshd config to have it run on a non-standard port, and reload
3. Rename the old sshd config (so it doesn’t conflict with the new one…)
4. Connect to the old sshd on the non-standard port
5. Install the new sshd via whatever method is appropriate
6. Start the new sshd on the proper port
7. Connect to the new sshd to verify that it works
8. Close the connection to the old sshd, then stop it

options for building bind: ./configure –prefix=/ –exec-prefix=/usr

Posted in Uncategorized | Comments Off on Upgrading SSH