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.
-
-luser 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
-loption only works if the remote system provides support for the TelnetENVIRONoption.-
-a Attempts an automatic logon using the username and password of the currently logged-on user.
-
-eesc_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 ...
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