Home  >  Article  >  Operation and Maintenance  >  What is sshd in linux

What is sshd in linux

WBOY
WBOYOriginal
2022-03-18 10:52:108212browse

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.

What is sshd in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is sshd in Linux

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

  • ##SSH protocol: Secure Shell, a secure shell protocol.

  • SSH is a security protocol based on the application layer and transport layer.

  • The sshd service uses the SSH protocol to perform remote control or transfer files between computers.

  • sshd uses encrypted transmission, which is much safer than telnet transmission using clear text.

sshd configuration file

/etc/ssh/sshd_config

If 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 modified

Port 22

Use 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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn