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

What if linux telnet cannot log in remotely?

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

Share

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

The telnet command is usually used for remote login.

Telnet program is a remote login client program based on TELNET protocol.

Telnet protocol is a member of TCP/IP protocol family, and it is the standard protocol and main way of Internet remote login service.

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

The end user can enter commands in the telnet program, which 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 a user name and password to log in to the server. Telnet is a commonly used method of remote control of Web servers.

Linux cannot log in using telnet:

Examples of use:

Example 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.209Trying 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 ~] #

Description:

The way to deal with this situation:

(1) confirm that 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 that 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 see if port 23 of TCP has a line with LISTEN status.)

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

These are the details of how linux cannot log in using telnet. Please pay attention to other related articles for more information.

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