Telnet Commands

Telnet Commands

Telnet is a network protocol used on the Internet or local area network connections. The term telnet is also used to refer to an application that uses that protocol. If you're going to use your Telnet application to connect with a remote computer that is using the Telnet protocol, Telnet commands have to be used.

Here are some Telnet commands based on the Microsoft TechNet site:

open
open hostname portnumber establishes a Telnet connection to a host

close
the close command closes an existing Telnet connection

display
the display command is used to view the current setting for the Telnet client

quit
the quit command is used to exit from Telnet

set
the set command is used 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 authentication
set localecho turns on local echoing
set term {ansi | vt100 | vt52 | vtnt} sets the terminal type to the appropriate terminal type
escape character sets the key sequence to use for switching from session to command mode
logfile filename sets the file to be used for logging Telnet activity
logging turns on logging

unset
unset is used 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
the status command is used to determine whether the Telnet client is connected

CTRL+]
to move to the Telnet command prompt from a connected session, press CTRL+]

enter
the enter command is used from the command prompt to go to the connected session

?/help
prints Help information