liunx centox ssh 配置
Posted jiangfeilong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了liunx centox ssh 配置相关的知识,希望对你有一定的参考价值。
一. 查看是否安装了ssh: rpm -qa | grep ssh
重启ssh service sshd restart
开启 sshservice sshd start
二.
PermitRootLogin yes //yes 未允许root 登录 no 则反之
PasswordAuthentication no //禁止远程用密码登录
RSAAuthentication yes
PubkeyAuthentication yes 启用公钥验证
PasswordAuthentication no //禁止远程用密码登录
RSAAuthentication yes
PubkeyAuthentication yes 启用公钥验证
以上是关于liunx centox ssh 配置的主要内容,如果未能解决你的问题,请参考以下文章