Enable remote ssh connection
- Ssh service set up and boot
systemctl start sshd.service
systemctl enable sshd.service
- Edit the file
/etc/ssh/sshd_config
PermitRootLogin yes # 允许root远程登录
- Close DNS verification
UseDNS no
GSSAPIAuthentication no
Note
- If DNS is not closed, could lead to remote connection is slow.