跳转到内容
lyrnox's blog
返回

vps改root登录

sudo -i

passwd

sed -i ‘s/^#?PermitRootLogin ./PermitRootLogin yes/’ /etc/ssh/sshd_config &&
sed -i ‘s/^#?PasswordAuthentication .
/PasswordAuthentication yes/’ /etc/ssh/sshd_config

systemctl restart sshd || systemctl restart ssh



上一篇文章
认知差的力量
下一篇文章
领英会员记