博客
关于我
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/

你可能感兴趣的文章
OSCACHE介绍
查看>>
SQL--合计函数(Aggregate functions):avg,count,first,last,max,min,sum
查看>>
OSChina 周五乱弹 ——吹牛扯淡的耽误你们学习进步了
查看>>
SQL--mysql索引
查看>>
OSChina 周四乱弹 ——程序员为啥要买苹果手机啊?
查看>>
OSChina 周日乱弹 —— 2014 年各种奇葩评论集合
查看>>
OSChina 技术周刊第十期,每周技术抢先看!
查看>>
OSError: no library called “cairo-2“ was foundno library called “cairo“ was foundno library called
查看>>
OSError: [WinError 193] %1 不是有效的 Win32 应用程序。
查看>>
OSGi与Maven、Eclipse PlugIn的区别
查看>>
Osgi环境配置
查看>>
OSG——选取和拖拽
查看>>
OSG中找到特定节点的方法(转)
查看>>
OSG学习:C#调用非托管C++方法——C++/CLI
查看>>
OSG学习:几何体的操作(一)——交互事件、简化几何体
查看>>
OSG学习:几何体的操作(二)——交互事件、Delaunay三角网绘制
查看>>
OSG学习:几何对象的绘制(一)——四边形
查看>>
OSG学习:几何对象的绘制(三)——几何元素的存储和几何体的绘制方法
查看>>
OSG学习:几何对象的绘制(二)——简易房屋
查看>>
OSG学习:几何对象的绘制(四)——几何体的更新回调:旋转的线
查看>>