next up previous
Next: USENET Up: How Telnet Works Previous: Telnet control functions

The telnet command

We have seen how we use Mac applications such as NiftyTelent or BetterTelnet PPC. To finish off this section we consider how we run simple command line Telnet clients.

On most Unix systems and DOS Prompts a telnet session can be initiated using the telnet command. Most users simply type:

telnet <remote host>

but if the user just types telnet then various options and subcommands are available which can be used to study the behaviour of the session.

Here's an exmaple of a telnet session from scitsc to ccub

bash$ telnet
telnet> toggle options
Will show option processing.
telnet> open ccub
Trying 134.220.1.20 ...
Connected to ccub.wlv.ac.uk.
Escape character is '^]'.
SENT do SUPPRESS GO AHEAD
SENT will TERMINAL TYPE (reply)
RCVD do TERMINAL TYPE (don't reply)
RCVD will SUPPRESS GO AHEAD (don't reply)
RCVD will ECHO (reply)
SENT do ECHO (reply)
RCVD do ECHO (reply)
SENT wont ECHO (reply)


UNIX(r) System V Release 4.0 (ccub)

RCVD dont ECHO (don't reply)
login: Login timed out after 60 seconds
Connection closed by foreign host.



Dave Marshall
9/28/2001