Name
telnet
Synopsis
telnet [options] [host[port]]
Access remote systems. telnet is the user interface that
communicates with another host using the Telnet protocol. If
telnet is invoked without
host, it enters command mode, indicated by its
prompt, telnet>, and accepts
and executes commands. Type ? at
the command prompt to see the available commands. If invoked with
arguments, telnet performs an
open command (shown in the
following list) with those arguments. host
indicates the host’s official name, alias, or Internet address.
port indicates a port number (default is the
Telnet port).
The Telnet protocol is often criticized because it uses no encryption and makes it easy for snoopers to pick up user passwords. Most sites now use ssh instead.
Options
- −7
Request 7-bit operation.
- −8
Request 8-bit operation.
- -a
Automatic login to the remote system.
- -b hostalias
Use bind to bind the local socket to an aliased address or the address of an interface other than the one that would be chosen by connect.
- -c
Disable reading of the user’s .telnetrc file.
- -d
Turn on socket-level debugging.
- -e [escape_char]
Set initial telnet escape character to escape_char. If escape_char is omitted, no escape character is predefined.
- -E
Disable the escape character functionality.
- -f
With Kerberos V5 authentication, allow forwarding of the local credentials to the remote system.
- -F
With Kerberos V5 authentication, allow local credentials to be forwarded to the remote system, including any that were already forwarded to the local environment. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access