Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using the sshd command of linux openssh server daemon

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail about the sshd command openssh server daemon using linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The sshd command is the server daemon in the opensshd software suite.

The openssh suite establishes encrypted data communication between two trusted hosts in an insecure network and is an alternative to communication tools such as rlogin and rsh that transmit data in clear text. Sshd instruction is the core program in openssh suite, and other instructions (such as sftp-server, slogin, scp) are based on sshd command.

Syntax format: sshd [parameters]

Common parameters:

-4 Force use of IPv4 address-6 Force use of IPv6 address-D to run server-d debug mode-e sends errors to standard error devices instead of sending them to Syslog-f specifies the configuration file of the server-g specifies the expiration time of the client login (the default time is 120s), if the user does not authenticate correctly within this period Then the server disconnects this client-h specifies to read the host key file-isshd runs in inetd mode-o specifies the configuration option for sshd-p specifies the port number used-Q silent mode, and no information is written to the Syslog-t test mode

Reference example

Run sshd in debug mode:

[root@linuxcool] # / usr/sbin/sshd-d

Run sshd in test mode:

[root@linuxcool] # / usr/sbin/sshd-t

Force the use of IPv6 addresses:

[root@linuxcool] # sshd-6

View the status of the sshd service:

[root@linuxcool ~] # service sshd status

Start the sshd service:

[root@linuxcool ~] # service sshd start on the use of linux sshd commands openssh server daemon sharing here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report