snippetbashTip
telnet — Connect to a specified port of a host using the telnet protocol. More information: <https://manned.o
Viewed 0 times
portcommandcliconnectusinghostspecifiedtelnet
Problem
How to use the
telnet command: Connect to a specified port of a host using the telnet protocol. More information: <https://manned.org/telnet>.Solution
telnet — Connect to a specified port of a host using the telnet protocol. More information: <https://manned.org/telnet>.Telnet to the default port of a host:
telnet {{host}}Telnet to a specific port of a host:
telnet {{ip_address}} {{port}}[Interactive] Exit a telnet session:
quitEmit the default escape character combination for terminating the session:
<Ctrl ]>Start
telnet with "x" as the session termination character:telnet {{[-e|--escape]}} {{x}} {{ip_address}} {{port}}Telnet to Star Wars animation:
telnet {{towel.blinkenlights.nl}}Code Snippets
Telnet to the default port of a host
telnet {{host}}Telnet to a specific port of a host
telnet {{ip_address}} {{port}}[Interactive] Exit a telnet session
quitEmit the default escape character combination for terminating the session
<Ctrl ]>Start `telnet` with "x" as the session termination character
telnet {{[-e|--escape]}} {{x}} {{ip_address}} {{port}}Context
tldr-pages: common/telnet
Revisions (0)
No revisions yet.