OpenSSH-5.5p1

OpenSSH 5.5 が出ていたので入れ換えた。zlib 1.2.4 、OpenSSL 1.0.0 が少し前に出ていて入れ換えて様子を見ていたのだが問題なく使えていた。新しい SSH で確認だ。
zlib

cd /usr/local/src
wget http://zlib.net/zlib-1.2.4.tar.gz
cd zlib-1.2.4
./configure
make
make install

OpenSSL

cd /usr/local/src
wget http://www.openssl.org/source/openssl-1.0.0.tar.gz
tar zxf openssl-1.0.0.tar.gz
cd /usr/local/src/openssl-1.0.0
./config
make
make test
make install

OpenSSH

cd /usr/local/src
wget http://ftp.OpenBSD.org/pub/OpenBSD/OpenSSH/portable/openssh-5.5p1.tar.gz
tar zxf openssh-5.5p1.tar.gz
cd openssh-5.5p1
./configure --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl --with-zlib=/usr/local --sysconfdir=/usr/local/etc/ssh
make
make install
/etc/rc.d/sshd restart

FreeBSD なので /etc/rc.conf に

sshd_enable="YES"
sshd_program="/usr/local/sbin/sshd"

と書いておく。

ssh -V
OpenSSH_5.5p1, OpenSSL 1.0.0 29 Mar 2010