博客
关于我
CentOS下openssh版本降级
阅读量:195 次
发布时间:2019-02-28

本文共 1009 字,大约阅读时间需要 3 分钟。

?????OpenSSH??????

?CentOS????OpenSSH??????????????????????OpenSSH????????????

?????????OpenSSH???????????????OpenSSH??????

????????????OpenSSH??

rpm -qa openssh*

????????????????

[root@node51 ~]# rpm -qa openssh* openssh-server-6.6.1p1-11.el7.x86_64 openssh-6.6.1p1-11.el7.x86_64 openssh-clients-6.6.1p1-11.el7.x86_64

????????????????OpenSSH???

yum remove openssh-server-6.6.1p1-11.el7.x86_64yum remove openssh-clients-6.6.1p1-11.el7.x86_64yum remove openssh-6.6.1p1-11.el7.x86_64

????????????????????OpenSSH?????

yum remove openssh*

?????????OpenSSH???????OpenSSH????????????

yum install -y openssl openssh-server

??????OpenSSH????????????OpenSSH??????????/etc/ssh/sshd_config????????????????????

  • PermitRootLogin????yes???root?????
  • RSAAuthentication????yes???RSA?????
  • PubkeyAuthentication????yes????????

???????sshd???

systemctl restart sshd.service

?????????????sshd?????????????

systemctl enable sshd.service

?????

  • ???????????????????????
  • ????????????sshd_config????????root?????

????????OpenSSH??????????

转载地址:http://axxi.baihongyu.com/

你可能感兴趣的文章
Python 优化提速的 8 个小技巧
查看>>
Python 余弦相似度与皮尔逊相关系数 计算
查看>>
python 使用execjs 报编码错误解决办法,UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xac in position 145: il
查看>>
python 使用filetype校验文件
查看>>
Python 使用flush函数将缓冲区数据立即写磁盘
查看>>
python 使用in判断不准确,in不好使
查看>>
Python 使用pandas 进行查询和统计详解
查看>>
Redis 配置文件redis.conf详细解释
查看>>
python网络爬虫(2)——scrapy框架的基础使用
查看>>
python网络爬虫实例教程试读_Python网络爬虫实战教程(全套完整版) - 学途无忧网 - 做技术的王者 - Powered By EduSoho...
查看>>
Python 使用哈希函数用于加密
查看>>
Python 依赖管理的革新——Poetry 深度解析
查看>>
python 保留精度及增加去除数字的千位分隔符(金额化数字)
查看>>
python 倒计时 9,8,7,。。。。。。0
查看>>
Python 入门开发学习笔记之数据的增删改查
查看>>
Python 入门教程(2)搭建环境 2.4、VSCode配置Node.js运行环境
查看>>
Python 八大排序算法合集
查看>>
python 关于epoll的学习
查看>>
Python 内存管理
查看>>
Python 内嵌函数:它们有什么用处?
查看>>