(1)解压安装包
[root@DBALJC01 openssh-7.5p1]# tar -xvf openssh-7.5p1.tar.gz
[root@DBALJC01 ssh7]# cd openssh-7.5p1
[root@DBALJC01 openssh-7.5p1]#
(2)检查配置
[root@DBALJC01 openssh-7.5p1]# ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-pam --with-tcp-wrappers --with-ssl-dir=/usr/local/ssl --without-hardening
检查正常
(3)编译
[root@DBALJC01 openssh-7.5p1]# make
(4)安装
[root@DBALJC01 openssh-7.5p1]# make install
(5)重启sshd服务
[root@DBALJC01 openssh-7.5p1]# service sshd restart
[root@DBALJC01 openssh-7.5p1]# ssh -V