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 the commands listed after the following options. 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
- -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.
- -f
With Kerberos V5 authentication, allow forwarding of the local credentials to the remote system.
- -k realm
With Kerberos authentication, obtain tickets for the remote host in realm, instead of in the remote host’s realm.
- -l user
When connecting to remote system and if remote system understands ENVIRON, send user to the remote system as the value for variable ...
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.