Version 3 (modified by jazz, 15 years ago) (diff) |
---|
root 使用 authorized_keys
讓 root 免密碼 no password 登入。(還是要搭配 ssh key exchange ... PermitRootLogin no 代表不允許 root 進行 ssh 登入)- 修改 sshd_config
$ sudo vim /etc/ssh/sshd_config 修改 PermitRootLogin yes
Version 3 (modified by jazz, 15 years ago) (diff) |
---|
$ sudo vim /etc/ssh/sshd_config 修改 PermitRootLogin yes