Name
telnet
Synopsis
telnet [options
] [host
[port
]]
Accesses 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. port
indicates a port number (default is the Telnet port).
Use of telnet has mostly been replaced by ssh for use as a terminal program, since telnet sends its traffic across the network in plain text. However, it can still be useful for debugging transactions on arbitrary ports with servers and services.
Options
- -a
Automatic login into the remote system.
-
-b
alias
Used to connect to an
alias
setup by ifconfig or another interface as the local address to bind to.- -c
Tell telnet not to use a user’s .telnetrc file.
- -d
Turn on socket-level debugging.
-
-e [
escape_char
] Set initial telnet escape character to
escape_char
. Ifescape_char
is omitted, there will be no predefined escape character.- -k
Attempt to get tickets for remote host; query krb_realmofhost to determine realm.
-
-l
user
When connecting to remote system, and if remote system understands
ENVIRON
, senduser
to the remote system as the value for variableUSER
.-
-n
tracefile
Open
tracefile
for recording the trace information.- -r
Emulate rlogin. The default ...
Get Mac OS X Tiger in a Nutshell 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.