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).
Options
-
-a Automatic login into the remote system.
-
-balias Used to connect to an
aliassetup byifconfigor another interface as the local address to bind to.-
-c Tell
telnetnot to use a user’s.telnetrcfile.-
-d Turn on socket-level debugging.
-
-e[escape_char] Set initial
telnetescape character toescape_char. Ifescape_charis omitted, there will be no predefined escape character.-
-k Attempt to get tickets for remote host; query
krb_realmofhostto determine realm.-
-luser When connecting to remote system, and if remote system understands
ENVIRON, senduserto the remote system as the value for variableUSER.-
-ntracefile Open
tracefilefor recording the trace information.-
-r Emulate
rlogin. The default escape character is a tilde (~); an escape character followed by a dot causestelnetto disconnect from the remote host; a^Zinstead of a dot suspendstelnet; and a](the defaulttelnetescape character) generates a normaltelnetprompt. These ...
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