tldr/pages/common/telnet.md

29 lines
565 B
Markdown
Raw Normal View History

2014-03-03 10:09:39 +00:00
# telnet
> Connect to a specified port of a host using the telnet protocol.
> More information: <https://manned.org/telnet>.
2014-03-03 10:09:39 +00:00
- Telnet to the default port of a host:
2014-03-03 10:09:39 +00:00
`telnet {{host}}`
2014-03-03 10:09:39 +00:00
- Telnet to a specific port of a host:
`telnet {{ip_address}} {{port}}`
- Exit a telnet session:
2014-03-03 10:09:39 +00:00
`quit`
- Emit the default escape character combination for terminating the session:
2014-03-03 10:09:39 +00:00
`<Ctrl> + ]`
2014-03-03 10:09:39 +00:00
- Start `telnet` with "x" as the session termination character:
2014-03-03 10:09:39 +00:00
`telnet -e {{x}} {{ip_address}} {{port}}`
- Telnet to Star Wars animation:
`telnet {{towel.blinkenlights.nl}}`