Home > Operation and Maintenance > Linux Operation and Maintenance > What to do if Linux cannot log in using telnet

What to do if Linux cannot log in using telnet

Release: 2019-12-31 13:20:02
Original
3951 people have browsed it

What to do if Linux cannot log in using telnet

The telnet command is usually used for remote login.

The telnet program is a remote login client program based on the TELNET protocol.

The Telnet protocol is a member of the TCP/IP protocol family and is the standard protocol and main method for Internet remote login services.

It provides users with the ability to complete remote host work on the local computer. Use the telnet program on the end user's computer to connect to the server.

Terminal users can enter commands into the telnet program, and these commands will be run on the server as if they were entered directly on the server's console. You can control the server locally.

To start a telnet session, you must enter your username and password to log in to the server. Telnet is a commonly used method to remotely control web servers.

Free online video tutorial sharing: linux video tutorial

Linux cannot log in using telnet:

Usage example:

Instance 1: The remote server cannot access the command:

telnet 192.168.120.206 output: The code is as follows:

[root@localhost ~]# telnet 192.168.120.209
Trying 192.168.120.209.。。
telnet: connect to address 192.168.120.209: No route to hosttelnet: Unable to connect to remote host: No route to host
[root@localhost ~]#
Copy after login

Instructions:

Handle this situation Method:

(1) Confirm whether the IP address is correct?

(2) Confirm whether the host corresponding to the IP address has been powered on?

(3) If the host has been started, confirm whether the routing settings are set correctly? (Use the route command to view)

(4) If the host has been started, confirm whether the telnet service is enabled on the host? (Use the netstat command to check whether TCP port 23 has a LISTEN status line)

(5) If the host has started the telnet service, confirm whether the firewall has released access to port 23? (Use iptables-save to view)

The above is the detailed content of What to do if Linux cannot log in using telnet. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template