cp -rf /etc/ssh /etc/ssh_bak
yum install gcc openssl-devel pam-devel rpm-build
cd /usr/local/src/
wget http://mirror.internode.on.net/pub/OpenBSD/OpenSSH/portable/openssh-7.2p2.tar.gz
tar -zxvf openssh-7.2p2.tar.gz
cd openssh-7.2p2
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-zlib --with-md5-passwords
make
make install
service sshd reload && service sshd restart
chkconfig sshd on
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-09-17 22:00:11

results matching ""

    No results matching ""