使用ssh可以很方便的测试和远程机器的接口连接情况
ssh -v -p 77 1.1.2.1
OpenSSH_9.0p1, OpenSSL 1.1.1q 5 Jul 2022
debug1: Reading configuration data /c/Users/b/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to port 77.
debug1: Connection established.
......
建立连接成功,可以连接
ssh -v -p 77 1.1.2.1
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 58: Applying options for *
debug1: Connecting to port 77.
一直停留在连接上没有上面的Connection established.