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 启用公钥验证
 

 




以上是关于liunx centox ssh 配置的主要内容,如果未能解决你的问题,请参考以下文章

liunx 修改ssh 端口22

Liunx服务器搭建SVN服务,并通过钩子实现代码自动部署

Liunx服务器搭建SVN服务,并通过钩子实现代码自动部署

在虚拟机liunx中安转mongodb

2023年01月 使用win11系统自带SSH,远程控制VMware中Liunx虚拟机系统

2023年01月 使用win11系统自带SSH,远程控制VMware中Liunx虚拟机系统