修改ssl版本号:
ssh -V
ldd /usr/bin/openssl | grep libcrypto.so
ll /usr/local/ssl/lib/libcrypto.so.1.0.0
ll /usr/local/ssl/lib/
cp /usr/local/ssl/lib/libcrypto.so.1.0.0/usr/local/ssl/lib/libcrypto.so.1.0.0.bak
ll /usr/local/ssl/lib/
sed -i "s#0.9.8e#2.0.2G#g"/usr/local/ssl/lib/libcrypto.so.1.0.0
openssl version
sed -i ‘s#1.0.1h#2.0.2e#g‘/usr/local/ssl/lib/libcrypto.so.1.0.0
修改ssh版本号
ssh -V
which ssh
cd /usr/bin/
ls
cp ssh ssh.bak
ssh -V
sed -i ‘s#OpenSSH_6.7p1#OpenSSH_7.9p1#g‘ssh
本文出自 “技术改变命运” 博客,请务必保留此出处http://lvnian.blog.51cto.com/7155281/1683575
原文地址:http://lvnian.blog.51cto.com/7155281/1683575