In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
SSH is an acronym for Secure Shell and was developed by IETF's network team (Network Working Group). SSH is a security protocol based on the application layer. SSH is currently a reliable protocol designed to provide security for remote login sessions and other network services. The use of SSH protocol can effectively prevent information leakage in the process of remote management. SSH was originally a program on the UNIX system, and then rapidly expanded to other operating platforms.
1. Description of SSH login failure error message
An error occurred when the client connected to the server through the ssh protocol, as shown in the figure:
Second, error troubleshooting
First, troubleshoot whether it is a client-side problem, through the ping command and telnet troubleshooting.
The ping result is shown in the following figure:
The telnet result chart is shown in the following figure:
Both ping and telnet are connected, which means it is not the problem of the client, but the reason of the server. You need to log in to the server for troubleshooting.
Although it is not possible to ssh to the server, generally speaking, the host provides some ways for you to connect, such as connecting through a physical terminal.
After logging in to the server, check the / etc/hosts.allow file to see whether the client IP is in the whitelist. By checking, it is found that the client IP is not in the whitelist of the server. Add the client ip to the whitelist through vi / etc/hosts.allow, as shown below:
Then restart ssh, restart the command
Service sshd restart
Client re-ssh, login succeeded, problem solved.
These are the details of the solution to the failure to start ssh under linux. Please pay more attention to other related articles!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.