The following versions of OpenSSH are available for putting on your OpenBSD machines:
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.3.0.tgz
OpenSSH 2.3.0 is included in OpenBSD 2.8.
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.3.0.tgz # cd ssh comment 'CFLAGS+=-DHAVE_LOGIN_CAP' in sshd/Makefile, using a # character. # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etcNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.2.0.tgz
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.2.0.tgz # cd ssh comment 'CFLAGS+=-DHAVE_LOGIN_CAP' in sshd/Makefile, using a # character. # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etcNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
To extract and install it on your OpenBSD 2.6 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.2.0.tgz # patch -p0 < openbsd26_2.2.0.patch # cd ssh uncomment 'CFLAGS+=-DHAVE_LOGIN_CAP' in sshd/Makefile # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc
Note that using OpenSSH 2.2.0 on OpenBSD 2.6 will require one of the ssl27.tgz or sslUSA27.tgz packages instead of the 2.6 varients. This updates your ssl libraries to a newer version of OpenSSL, which contains new calls which OpenSSH requires. Also, if you want to use SSH2, and do not already have a DSA key, you need to create one using
# /usr/bin/ssh-keygen -d -f /etc/ssh_host_dsa_key -N ''
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.1.1.tgz
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.1.1.tgz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etcNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
To extract and install it on your OpenBSD 2.6 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.1.1.tgz # patch -p0 < openbsd26_2.1.1.patch # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc
Note that using OpenSSH 2.1.1 on OpenBSD 2.6 will require one of the ssl27.tgz or sslUSA27.tgz packages instead of the 2.6 varients. This updates your ssl libraries to a newer version of OpenSSL, which contains new calls which OpenSSH requires. Also, if you want to use SSH2, and do not already have a DSA key, you need to create one using
# /usr/bin/ssh-keygen -d -f /etc/ssh_host_dsa_key -N ''
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-2.1.0.tgz
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.1.0.tgz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etcNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
To extract and install it on your OpenBSD 2.6 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-2.1.0.tgz # patch -p0 < openbsd26_2.1.0.patch # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc
Note that using OpenSSH 2.1.0 on OpenBSD 2.6 will require one of the ssl27.tgz or sslUSA27.tgz packages instead of the 2.6 varients. This updates your ssl libraries to a newer version of OpenSSL, which contains new calls which OpenSSH requires. Also, if you want to use SSH2, and do not already have a DSA key, you need to create one using
# /usr/bin/ssh-keygen -d -f /etc/ssh_host_dsa_key -N ''
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/openssh-1.2.3.tgz
To extract and install it on your OpenBSD 2.7 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-1.2.3.tgz # cd ssh # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etcNote: This above source fails to build on earlier OpenBSD, because IPV6 support in libc was incomplete.
To extract and install it on your OpenBSD 2.6 system:
# cd /usr/src/usr.bin # tar xvfz .../openssh-1.2.3.tgz # cd ssh # patch -p1 < openbsd26_1.2.3.patch # make obj # make cleandir # make depend # make # make install # cp ssh_config sshd_config /etc