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

How to use the sshd command in Linux

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

Editor to share with you how to use the sshd command in Linux. I hope you will get something after reading this article. Let's discuss it together.

Linux common commands sshd commands are server daemons in the opensshd software suite.

Syntax format: sshd [parameters]

Common parameters:-4 force use of IPv4 address-6 force use of IPv6 address-D 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-Q silent mode used, and no information is written to the Syslog-t test mode reference instance to run sshd in debug mode:

[root@linux265 ~] # / usr/sbin/sshd-d runs sshd in test mode:

[root@linux265 ~] # / usr/sbin/sshd-t forces the use of IPv6 addresses:

[root@linux265 ~] # sshd-6 View sshd service status:

[root@linux265 ~] # service sshd status starts the sshd service:

[root@linux265] # service sshd start has finished reading this article, I believe you have a certain understanding of "how to use sshd commands in Linux". If you want to know more about it, please follow the industry information channel. Thank you for reading!

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

Development

Wechat

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

12
Report