Linux ssh enable remote connections

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.
Published 42 original articles · won praise 5 · Views 2945

Guess you like

Origin blog.csdn.net/Function_RY/article/details/103705421