Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux Note 14 uses the ssh service to manage remote hosts.

Shulou Source: shulou.com Published: 2022-06-02 22:46:35 10月27日 Update

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.

Tags: Services security authentication management information passwords keys methods servers accounts logins public keys data programs systems remote management transmission configuration convenience middleman Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MySQL Shulou Technology Docker Huawei