Linux Note 14 uses the ssh service to manage remote hosts.
SSH (Secure Shell) is a protocol that can provide remote login in a secure way, and it is also the preferred way to remotely manage Linux systems. Before that, it was common to use FTP or Telnet for remote login. However, because they transmit account passwords and data information in clear text in the network, they are very insecure and are vulnerable to * * middlemen * *, which may tamper with the transmitted data information or grab the account password of the server directly.
If you want to use the SSH protocol to remotely manage Linux systems, you need to deploy and configure the sshd service program. Sshd is a remote management service program developed based on SSH protocol, which is not only easy to use, but also can provide two methods of security verification:
1. Password-based authentication-use account and password to verify login
2. Key-based authentication-the key pair needs to be generated locally, and then the public key in the key pair is uploaded to the server and compared with the public key in the server; this method is more secure.
The configuration information for the sshd service is saved in the / etc/ssh/sshd_config file.