Ubuntu 18.04 Permit Root Login Remotely william 5 years ago sudo vi /etc/ssh/sshd_config # 加上以下設定 PermitRootLogin yes # 重啟sshd sudo systemctl restart sshd.service Share this: Click to share on Facebook (Opens in new window) Facebook