2014-03-03 10:09:39 +00:00
|
|
|
# telnet
|
|
|
|
|
2017-05-04 20:50:30 +01:00
|
|
|
> Connect to a specified port of a host using the telnet protocol.
|
2021-10-23 19:45:06 +01:00
|
|
|
> More information: <https://manned.org/telnet>.
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2017-05-04 20:50:30 +01:00
|
|
|
- Telnet to the default port of a host:
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2017-11-18 14:55:48 +00:00
|
|
|
`telnet {{host}}`
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2017-05-04 20:50:30 +01: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`
|
|
|
|
|
2017-05-04 20:50:30 +01:00
|
|
|
- Emit the default escape character combination for terminating the session:
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2017-05-04 20:50:30 +01:00
|
|
|
`Ctrl + ]`
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2023-06-27 22:57:35 +01:00
|
|
|
- Start `telnet` with "x" as the session termination character:
|
2014-03-03 10:09:39 +00:00
|
|
|
|
2017-05-04 20:50:30 +01:00
|
|
|
`telnet -e {{x}} {{ip_address}} {{port}}`
|
2021-03-03 11:56:40 +00:00
|
|
|
|
|
|
|
- Telnet to Star Wars animation:
|
|
|
|
|
|
|
|
`telnet {{towel.blinkenlights.nl}}`
|