cd /etc/ssh/
vi sshd_config
PermitRootLogin yes
PasswordAuthentication yes
保存后重启服务
systemctl restart sshd
linux 开启远程sshd登录
最新推荐文章于 2023-03-13 23:30:38 发布
cd /etc/ssh/
vi sshd_config
PermitRootLogin yes
PasswordAuthentication yes
保存后重启服务
systemctl restart sshd