linux升级ssh到6.6版本,CentOS6.5 openssh升级到openssh-7.6版本
CentOS6.5 openssh升級(jí)到openssh-7.6版本
2018-8-3 foooy
升級(jí)前保證故障后能現(xiàn)場處理,或者遠(yuǎn)程卡處理,否則不要這樣直接升級(jí)
yum install -y gcc openssl-devel pam-devel rpm-build
wget http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.6p1.tar.gz
cp -rf /etc/ssh /etc/ssh.bak
tar -zxvf openssh-7.6p1.tar.gz
cd openssh-7.6p1
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-zlib --with-md5-passwords --with-tcp-wrappers
make && make install
vim /etc/ssh/sshd_config
#PermitRootLogin yes
修改為
PermitRootLogin yes
service sshd restart
ssh -V
OpenSSH_7.6p1, OpenSSL 1.0.1e-fips 11 Feb 2013
發(fā)表評(píng)論:
昵稱
郵件地址 (選填)
個(gè)人主頁 (選填)
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎(jiǎng)勵(lì)來咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的linux升级ssh到6.6版本,CentOS6.5 openssh升级到openssh-7.6版本的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 课堂派题库格式转换程序
- 下一篇: 微软颜龄 维护小记——布局的小智慧