MS Windows Telnet command

Telnet is a simple, text-based terminal emulation program that allows you to connect to another computer across the network or by using the Internet (usually over port 23).

If you've been granted the appropriate rights to connect to that computer, Telnet will allow you to enter commands used to access programs and services that are on the remote computer, as if you were sitting right in front of it. Telnet can be used for many things, including accessing e‑mail, databases, or files.

Telnet is considered insecure because it transfers all data in clear text which could be easily read by anyone eves-dropping on the network. Users should consider using SSH for secure remote terminal access.

The telnet command is an external command that is available in Microsoft Windows 2000 and Windows XP.

Syntax

telnet [host [port]]
host specifies the hostname or IP address of the remote computer to connect to.
port Specifies the port number or service name.
Commands available through the telnet program:
closeclose current connection
displaydisplay operating parameters
openconnect to a site
quitexit telnet
setset options (type 'set ?' for a list)
NTLMTurn ON NTLM Authentication.
LOCAL_ECHOTurn ON LOCAL_ECHO.
TERM x(where x is ANSI, VT100, VT52, or VTNT)
CRLFSend both CR and LF
statusprint status information
unsetunset options (type 'unset ?' for a list)

NTLMTurn OFF NTLM Authentication.
LOCAL_ECHOTurn OFF LOCAL_ECHO.
CRLFSend only CR (no LF is sent)
?/helpprint help information


Examples

telnet myhost.com
Telnet to the computer myhost.com

Windows Vista & 7 – Enable Telnet

By default, telnet is not enabled with Windows Vista or 7. you can enable it by following these steps:
Start => Control Panel => Programs And Features => Turn Windows features on or off
Check Telnet Client and click OK

Windows Server 2008 / R2 - Install Telnet.

  1. Start Server Manager. Click Start, right-click Computer, and then click Manage.
  2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  3. In the Features Summary section, click Add features.
  4. In the Add Features Wizard, select Telnet Client, and then click Next.
  5. On the Confirm Installation Options page, click Install.
  6. When installation finishes, on the Installation Results page, click Close.

No comments:

Post a Comment