-bash: telnet: command not found

Introduction:

        When testing whether the remote port is open, it prompts: -bash: telnet: command not found

Solution:

 Install telnet:

1. List telnet-related installation packages

yum list telnet*

2. Install telnet service

yum install telnet-server

3. Install the telnet client

yum install telnet.*

4. Enter 'y' when prompted 

5. Test:

 telnet 10.xx.xx.172 8080

Guess you like

Origin blog.csdn.net/qq_36521848/article/details/129498983