You can download the current OpenSSH release from these ftp mirrors.
The following versions of OpenSSH are available for putting on your OpenBSD machines:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.6.tar.gz
If you are installing OpenSSH 6.6 on OpenBSD 5.4 or earlier, you will
need the the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd54_6.6.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.6.tar.gz # cd ssh # patch -p0 < /path/to/openbsd54_6.6.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.5.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.5.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.4.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.4.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.3.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.3.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.2.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.2.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.1.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.1.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-6.0.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-6.0.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.9.tar.gz
If you are installing OpenSSH 5.9 on OpenBSD 4.8 or 4.9,
you need the one of the following patches:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd48_5.9.patch
for OpenBSD 4.8 or
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd49_5.9.patch
for OpenBSD 4.9.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.9.tar.gz # cd ssh # patch -p0 < /path/to/openbsd49_5.9.patch # or openbsd48_5.9.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.8.tar.gz
If you are installing OpenSSH 5.8 on OpenBSD 4.7 or 4.8,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd48_5.8.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.8.tar.gz # cd ssh # patch -p0 < /path/to/openbsd48_5.8.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.7.tar.gz
If you are installing OpenSSH 5.7 on OpenBSD 4.7 or 4.8,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd48_5.7.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.7.tar.gz # cd ssh # patch -p0 < /path/to/openbsd48_5.7.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.6.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.6.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.5.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.5.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.4.tar.gz
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.4.tar.gz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.3.tar.gz
If you are installing OpenSSH 5.3 on OpenBSD 4.4,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd44_5.3.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.3.tar.gz # cd ssh # patch -p0 < /path/to/openbsd44_5.3.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.2.tar.gz
If you are installing OpenSSH 5.2 on OpenBSD 4.4,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd44_5.2.patch.
If you installing on OpenBSD 4.3, please use:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd43_5.2.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.2.tar.gz # cd ssh # patch -p0 < /path/to/openbsd44_5.2.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.1.tar.gz
If you are installing OpenSSH 5.1 on OpenBSD 4.3, 4.2 or 4.1,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd43_5.1.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.1.tgz # cd ssh # patch -p0 < /path/to/openbsd43_5.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-5.0.tar.gz
If you are installing OpenSSH 5.0 on OpenBSD 4.3, 4.2 or 4.1,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd43_5.0.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-5.0.tgz # cd ssh # patch -p0 < /path/to/openbsd43_5.0.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.9.tar.gz
If you are installing OpenSSH 4.9 on OpenBSD 4.3, 4.2 or 4.1,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd43_4.9.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-4.9.tgz # cd ssh # patch -p0 < /path/to/openbsd43_4.9.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.7.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.6.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.5.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.4.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.3.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.2.tar.gz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.1.tar.gz
If you are installing OpenSSH 4.1 on OpenBSD 3.5,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd35_4.1.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-4.1.tar.gz # cd ssh # patch -p0 < /path/to/openbsd35_4.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/sshand restart sshd.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-4.0.tgz
If you are installing OpenSSH 4.0 on OpenBSD 3.5,
you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd35_4.0.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-4.0.tgz # cd ssh # patch -p0 < /path/to/openbsd3x_4.0.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyand restart sshd. To support sshd(8)'s privilege separation feature on some older OpenBSD releases, a new user and group named sshd have been added to the system. Add the following user entry using vipw(8):
sshd:*:27:27::0:0:sshd privsep:/var/empty:/sbin/nologin
Add the following to /etc/group:
sshd:*:27: _sshagnt:*:34:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.9.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.8.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.7.1.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.7.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.6.1.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.6.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.5.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.4.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.3.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.2.3.tgz
We replaced the 3.2.2 release with 3.2.3 because of a bug in the BSD_AUTH access control code, login/tty problems on Solaris and build problems on Cygwin systems.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.1.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.0.2.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.0.1.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-3.0.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.9.9.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.9.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.5.2.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.5.1.tgz
We replaced the 2.5.0 release with 2.5.1 because a change we made triggered bugs in ssh-1.2.18 - ssh-1.2.22.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.3.0.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.2.0.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.1.1.tgz
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.1.0.tgz