xshell用root用戶登陸ubuntu

sudo vim /etc/ssh/sshd_config

# PermitRootLogin prohibit-password
PermitRootLogin yes #改爲 yes/etc/init.d/sshd restart
相關文章
相關標籤/搜索