1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > linux升级ssh到6.6版本 CentOS6.5 openssh升级到openssh-7.6版本

linux升级ssh到6.6版本 CentOS6.5 openssh升级到openssh-7.6版本

时间:2023-07-19 02:22:42

相关推荐

linux升级ssh到6.6版本 CentOS6.5 openssh升级到openssh-7.6版本

CentOS6.5 openssh升级到openssh-7.6版本

-8-3 foooy

升级前保证故障后能现场处理,或者远程卡处理,否则不要这样直接升级

yum install -y gcc openssl-devel pam-devel rpm-build

wget /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

发表评论:

昵称

邮件地址 (选填)

个人主页 (选填)

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。