Utilizzo di Telnet Utilização de Telnet Gebrauch von Telnet Utilisation de Telnet Uso de Telnet

Introduction to Telnet

Telnet is a protocol for emulating a remote terminal, which means that it can be used to run commands entered on a keyboard at a remote machine. The tool Telnet is an implementation of the Telnet protocol, which means that it translates the protocol specifications into programming language to create a program that can emulate a terminal.

Telnet operates in a client/server environment, meaning that the remote machine is configured as a server, and consequently waits for the other machine to request a service from it. Therefore, since the remote machine is sending data to be displayed, the user feels like he/she is working directly on the remote machine. In UNIX, the service is provided by what is called a daemon, a small task that runs in the background. The Telnet daemon is called Telnetd.

Protocols and implementation

Telnet is also a protocol, a set of rules and procedures which have been defined in order to standardise Telnet communication. For this reason, Telnet has been implemented across numerous platforms, based on the specifications of the protocol.

Running Telnet

Telnet is provided with various platforms, including UNIX, Windows 95, Windows NT, and Linux.
The command to initiate a Telnet session is usually:

telnet server_name

server_name represents the name or IP address of the remote machine that the user wants to connect to. You can also give its IP address, for example:

telnet 125.64.124.77

Finally, you can also specify which port to use by putting the port number after the IP address or server name:

telnet 125.64.124.77 80

Commands in Telnet

Once you are connected to the remote machine, you will be asked to provide a login and password for security reasons, to keep access restricted to authorised individuals only. Indeed, the reason Telnet is such a powerful protocol is that it allows commands to be run remotely. The commands that can be run in a Telnet session are defined by the network administrator. They tend to be UNIX commands, as most Telnet servers run UNIX. The standard commands are:

Command Description
? show help
close Close Telnet session
display Show connection settings onscreen (type of terminal & port)
environ For defining the operating system's environmental variables
logout For logging out
mode Switches between the transfer modes ASCII (transferring a file as text) and BINARY (transferring a file in binary)
open Opens another connection from the current one
quit Leaves the Telnet application
set Changes the connection settings
unset Loads the default connection settings
Previous page Next page

Last update on Thursday October 16, 2008 02:43:16 PM.This document entitled « Using Telnet » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Best answers for « Using Telnet » in :
Telnet protocol Show Introduction to the Telnet protocol The Telnet protocol is a standard internet protocol enabling terminals and applications to interface over the Internet. This protocol provides the basic rules making it possible to link a client (system composed...
Using Telnet Show Introduction to Telnet Telnet is a protocol for emulating a remote terminal, which means that it can be used to run commands entered on a keyboard at a remote machine. The tool Telnet is an implementation of the Telnet protocol, which means that it...
Enable Telnet on Vista Show Enabling Telnet under Vista Enabling Telnet on Vista The telnet command under Windows Vista is by default disabled for security reasons. However, it is possible to reactivate easily. Follow the steps below: Open Control...
Manage XP and Vista users using dos commands ShowManage XP and Vista users using dos commands Enabling or disabling a user Set a password Requiring a user to change password at next logon Specify if the user has the right to change his password Set the minimum length of a password for all...
Installing a SSH server on Ubuntu ShowInstalling a SSH server on Ubuntu Installation Connection An ssh server allows you to remotely access your machine. You'll have access to the remote console (equivalent to telnet, but secure) and the transfer of files (equivalent...
Installing Opera 10 under Ubuntu 9.04 (Jaunty) ShowInstalling Opera 10 under Ubuntu 9.04 (Jaunty) If you already have an older version of Opera, first remove it: sudo apt-get remove opera (This operation will not results in the lost of your configuration or your bookmarks.) Then do:...
Download Putty ShowPutty is a free telnet and SSH client for Windows 32 bit platforms, along with an extern terminal emulator. It allows to connect to a remote server from a computer which is connected to Internet. You can also find other command line tools on...
Telnetsvr - telnetsvr.exe Showtelnetsvr - telnetsvr.exe telnetsvr.exe (telnetsvr stands for Telnet Service) is a Windows NT/2000/XP generic process which lets remote users connect to the machine using the Telnet protocol. The process telnetsvr is not in any way a virus, a worm,...
Using FTP commands ShowThe FTP protocol FTP (File Transfer Protocol) is a protocol — meaning a standard language that lets two machines communicate — used so that computers of different types (or with different operating systems) can transfer files over a...
Messaging protocols (SMTP,POP3 and IMAP4) ShowIntroduction to e-mail E-mail is considered as being the most widely used service on the Internet. So the TCP/IP protocol suite offers a range of protocols allowing the easy management of email routing over the network. The SMTP protocol The...