Name

telnet

Synopsis

Runs an interactive shell session on a remote host running the telnet daemon.

Syntax

telnet [hostname [portnumber] ]

Options

telnet [ hostname [ portnumber ]]

Starts a client-side telnet session by opening a Microsoft Telnet shell within the command shell on the local machine.

hostname is the name (DNS or NetBIOS, depending on the network) or IP address of the remote telnet server. If hostname is omitted, then the telnet client starts but does not connect to a telnet server. (Use the open command in that case to connect.)

portnumber is only required if the default port (TCP port 23) is not used by the telnet server.

Commands

close

Terminates the current telnet session but keeps the telnet shell open on the client

display

Displays the operating parameters (see set option later in this list)

open

Establishes a connection with a telnet server

quit

Exits the telnet shell and returns to the command prompt

set option

Enables different settings, specifically:

NTLM

Authenticates telnet sessions using NTLM (challenge/response) authentication

LOCAL_ECHO

Displays typed keystrokes on the screen

TERM [ANSI | VT100 | VT52 | VTNT]

Specify the terminal mode to use.

CRLF

Sends both a carriage return and line feed when Enter is pressed

status

Displays the status of the connection

unset option

Disables different settings, specifically:

NTLM

Authenticates telnet sessions using basic authentication (clear text) instead of NTLM (challenge/response) authentication

LOCAL_ECHO

Causes typed ...

Get Windows 2000 Administration 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.