Linux opens remote connection configuration ssh file

---Edit the ssh configuration file
nano /etc/ssh/sshd_config
modification:
PermitRootLogin yes #Allow root to log in
PermitEmptyPasswords no #Do not allow empty passwords to log in
PasswordAuthentication yes #Set whether to use password authentication.
--ssh service startup command:
sudo /etc/init.d/ssh start |stop |restart
---Set ssh boot self-start: update-rc.d ssh enable

Guess you like

Origin blog.csdn.net/weixin_42599091/article/details/124747194