Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize

Telnet commands

The Telnet Client command prompt accepts the following commands:

Command

Description

open

Use open hostname portnumber to establish a Telnet connection to a host.

close

Use the close command to close an existing Telnet connection.

display

Use the display command to view the current settings for the Telnet client.

The display command lists the current operating parameters. If you are in a Telnet session (connected to a Telnet server), to modify the parameters, press CTRL+]. This escapes from the Telnet session. (To return to the Telnet session, press ENTER.) The following operating parameters are available:

  • WILL AUTH (NTLM Authentication)

  • WONT AUTH 

  • WILL TERM TYPE 

  • WONT TERM TYPE 

  • LOCALECHO off 

  • LOCALECHO on 

quit

Use the quit command to exit from Telnet.

set

Use the set command to set the terminal type for the connection, turn on local echo, set authentication to NTLM, set the escape character, and set up logging.

  • SET NTLM turns on NTLM.

    While you are using NTLM Authentication, you are not prompted for a logon name and password when connecting from a remote computer.

  • SET LOCALECHO turns on local echoing.

  • SET TERM {ANSI|VT100|VT52|VTNT} sets the terminal type to the appropriate terminal type.

    Use the VT100 terminal type if you are running normal command-line applications. Use the VTNT terminal type if you are running advanced command-line applications, such as edit.

  • ESCAPE Character sets the key sequence to use for switching from session to command mode. For example, to set CTRL+P as your escape character, type set escape, press CTRL+P, and then press ENTER.

  • LOGFILE FileName sets the file to be used for logging Telnet activity. The log file must be on your local computer.

    Logging begins automatically when you set this option.

  • LOGGING turns on logging.

    If no log file is set, an error message is displayed.

unset

Use unset to turn off local echo or to set authentication to logon/password prompt.

  • UNSET NLM turns off NLM.

  • UNSET LOCALECHO turns off local echoing.

status

Use the status command to determine whether the Telnet client is connected.

CTRL+]

Press CTRL+] to move to the Telnet command prompt from a connected session.

enter

Use the enter command from the command prompt to go to the connected session (if it exists).

?/help

Prints Help information.

For information about Telnet client and server commands see: Telnet 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft