Name
Telnet —
\windows\system32\telnet.exe
Synopsis
Create an interactive, text-based terminal session on a remote computer.
To Open
Command Prompt →
telnet
Usage
telnet [-a] [-eesc
] [-ffile
] [-luser
] [-tterm
] [host
]
Description
Telnet is used to connect to a remote computer. A Telnet session works very much like a command prompt window, except that commands entered are executed on the remote machine. What you do in Telnet depends on the platform of the remote machine; for example, if connecting to a Unix host, you’ll get a standard terminal window. If you connect to a Windows host, you’ll get a DOS command-prompt window.
The following options can be used with Telnet:
-
host
The name or IP address of the remote computer. If you omit host, Telnet will start with a standard
Microsoft Telnet>
prompt, at which point you can type any of the commands listed below (such asopen
).-
port
Specifies a port number to use for the connection; if omitted, the default Telnet port (23) is used.
-
-l
user
Specifies the username with which to log in on the remote system. If omitted, you’ll be prompted to enter a username at the remote system’s login. The
-l
option only works if the remote system provides support for the TelnetENVIRON
option.-
-a
Attempts an automatic logon using the username and password of the currently logged-on user.
-
-e
esc_character
Defines the escape character for the Telnet session; by default, escape is set to Ctrl-]. Type the escape character during a Telnet session to temporarily ...
Get Windows XP 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.