Home > Article > Operation and Maintenance > What is sshd in linux
In Linux, sshd is a client software, which is a service that can open a shell on the host through the network; the sshd service uses the SSH protocol and can be used for remote control or to transfer files between computers. sshd Using encrypted transmission is much safer than using clear text transmission through telnet to transfer files.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
sshd=secure shell
You can open the shell service on the host through the network
Connection method:
ssh username@ip 文本模式的链接 ssh -X username@ip 可以在连接成功后开机图形
sshd is provided by OpenSSH
sshd configuration file
/etc/ssh/sshd_configIf there are no spaces between the hash sign and the following parameters, it means the default value is valid
If there are spaces at the beginning and after the pound sign, it means a pure comment
Port
The default port is 22, the external network production environment needs to be modifiedPort 22Use parameters to specify the port to connect to the non-22 default port [-p port]ssh -p 1234 root@10.0.0.88
Listening address
The default value is all All addresses of the network card can be modified to the specified IP#ListenAddress 0.0.0.0 #ListenAddress ::Related recommendations: "
Linux Video Tutorial"
The above is the detailed content of What is sshd in linux. For more information, please follow other related articles on the PHP Chinese website!