cd /etc/ssh/
vi sshd_config
PermitRootLogin yes
PasswordAuthentication yes
保存后重启服务
systemctl restart sshd
linux 开启远程sshd登录
最新推荐文章于 2023-05-31 18:14:11 发布
cd /etc/ssh/
vi sshd_config
PermitRootLogin yes
PasswordAuthentication yes
保存后重启服务
systemctl restart sshd