#Update openssh version: OpenSSH_6.1p1
yum -y install gcc openssl-devel
mv /etc/ssh{,.$(date -I)}
wget />
tar zxvf openssh-6.1p1.tar.gz
cd openssh-6.1p1
./configure --prefix=/usr --sysconfdir=/etc/ssh
make -j10
make install
chkconfig --add sshd
/etc/init.d/sshd restart
ssh -v
################
[root@cloud ~]# cat /root/.ssh/config
Host *
PORT 22
ControlMaster auto
ControlPath /tmp/ssh_mux_%h_%p_%r
ControlPersist 600
阅读(2628) | 评论(0) | 转发(0) |