Created
October 12, 2019 14:26
-
-
Save donchan922/42f9fdedaff879ebed8699c9193fe73b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 使用方法 | |
$ telnet [hostname or IP] [port] | |
# リモートサーバのポートが空いている場合 | |
$ telnet 192.168.1.2 22 | |
Trying 192.168.1.2... | |
Connected to 192.168.1.2. | |
Escape character is '^]'. | |
SSH-2.0-OpenSSH_7.4p1 Raspbian-10+deb9u6 | |
^] | |
telnet> q | |
Connection closed. | |
# リモートサーバのポートが閉じている場合 | |
$ telnet 192.168.1.3 22 | |
Trying 192.168.1.3... | |
telnet: connect to address 192.168.1.3: Connection refused |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment