博客
关于我
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中del函数的垃圾回收
查看>>
Python中DrissionPage的详细解析与实战
查看>>
python中enumerate、变量类型转换
查看>>
python中execute是啥_python – 为什么“c.execute(…)”打破循环?
查看>>
python中exit和break区别_Python中exit()和sys.exit()之间的区别
查看>>
python中h5的用法
查看>>
python中http协议编程_HTTP编程
查看>>
python中import os_Python:相对导入与绝对导入(import)、os.path、__file__
查看>>
python中is和==操作符
查看>>
Python中range对象的使用以及打印九九乘法表
查看>>
Python中set.discard和set.remove方法之间的运行时差异?
查看>>
python中tkinter中value_输入字段中的python Tkinter get()值
查看>>
Python中wx.FlexGridSizer
查看>>
Python中xPath技术和BeautifulSoup的使用
查看>>
python中yield的用法详解——最简单,最清晰的解释
查看>>
python中‘set.intersection()‘的算法是什么?
查看>>
Python中一个图形中的多个绘图
查看>>
python中一个好的持久同步队列
查看>>
Python中不准确的对数
查看>>
python中什么是实例方法_在Python中创建实例方法对象的不同方法
查看>>