码迷,mamicode.com
首页 > 其他好文 > 详细

liunx centox ssh 配置

时间:2019-02-14 13:48:33      阅读:156      评论:0      收藏:0      [点我收藏+]

标签:root   login   ssh 配置   ati   style   gre   color   安装   cat   

一. 查看是否安装了ssh: rpm -qa | grep ssh

重启ssh  service sshd restart

开启 sshservice sshd start

二.

PermitRootLogin yes //yes 未允许root 登录 no 则反之
PasswordAuthentication no //禁止远程用密码登录
RSAAuthentication yes
PubkeyAuthentication yes 启用公钥验证
 

 

liunx centox ssh 配置

标签:root   login   ssh 配置   ati   style   gre   color   安装   cat   

原文地址:https://www.cnblogs.com/jiangfeilong/p/10373998.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!