Skip to content

ssh

开启root登录

shell
su
nano /etc/ssh/sshd_config

取消相应注释,并改为 PermitRootLogin yes

重启sshsudo systemctl restart sshd