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-3.6.1.tgz
OpenSSH 3.6.1 will compile cleanly on your OpenBSD 3.2 system, without modifications:
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc/ssh # mkdir /var/emptyTo support sshd(8)'s privilege separation feature on 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:If you cannot add the new user and groups, you need the following patch:
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # patch -p0 < .../openbsd31_3.6.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc # mkdir /var/empty
If you are installing on OpenBSD 3.0, you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd30_3.6.1.patch.
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # patch -p0 < .../openbsd30_3.6.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc # mkdir /var/empty
If you are installing on OpenBSD 2.9, you need the following patch:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openbsd29_3.6.1.patch.
To extract and install it on your OpenBSD 2.9 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # patch -p0 < .../openbsd29_3.6.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc # mkdir /var/emptyIf you are installing on OpenBSD 2.8, you need the following patch:
To extract and install it on your OpenBSD 2.8 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # patch -p0 < .../openbsd28_3.6.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc # mkdir /var/emptyIf you are installing on OpenBSD 2.7, you need the following patch:
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-3.6.1.tgz # cd ssh # patch -p0 < .../openbsd27_3.6.1.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc # mkdir /var/emptyNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
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.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