Rocky linux SSH setting

安装Rocky Linux 9 后无法直接使用ssh

检查是否安装sshd

ps -e | grep ssh

修改ssh 配置文件

vi /etc/ssh/sshd_config

修改 PermitRootLogin 为 yes

退出保存文件:wq

重启sshd服务

systemctl restart sshd

通过putty 远程连接

Download PuTTY - a free SSH and telnet client for Windows

 

posted @ 2022-11-01 15:01  lijifei  阅读(1915)  评论(0编辑  收藏  举报