2014-03-03 14:09:39 +04:00
|
|
|
# telnet
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Telnet is used to connect to a specified port of a host.
|
2014-03-03 14:09:39 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Telnet to a certain port:
|
2014-03-03 14:09:39 +04:00
|
|
|
|
|
|
|
`telnet {{ip_address}} {{port}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- To exit a telnet session:
|
2014-03-03 14:09:39 +04:00
|
|
|
|
|
|
|
`quit`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Default escape character:
|
2014-03-03 14:09:39 +04:00
|
|
|
|
|
|
|
`CTRL` + `]`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Specify an escape character (x is the escape character):
|
2014-03-03 14:09:39 +04:00
|
|
|
|
|
|
|
`telnet -e x {{ip_address}} {{port}}`
|