Current location - Quotes Website - Collection of slogans - Aix telnet connects to another host, and port 22 can be connected, but telent ip can't.
Aix telnet connects to another host, and port 22 can be connected, but telent ip can't.
Port 22 is the default listening port of ssh service. telnet ip 22 connection means that ssh service is started at the opposite end.

Telnet ip is actually connected to port 23 (the port on which Telnet service listens by default), and it doesn't work. There are two situations:

The 1.telnet service is not open on the other end.

2. There is a firewall between the target server and the source server, which blocks the protocol connecting port 23.

Check:

1. Make sure that the telnet service has been started by the peer.

Netstat -an|grep 23 to see if it is monitored.

2. If the opposite end has turned on telnet service monitoring, please ask the network administrator to check whether there is a firewall or something in the intermediate link.

3. If there is no firewall in the middle, analyze the data packet capture on the source host and the target host, and capture the data packet with the tcpdump command.