Linux Common Network Operations Command Telnet

Source: Internet
Author: User

The user uses the Telnet command to log on remotely. command allows users to use the Telnet protocol to communicate between remote computers, and users can log on to a remote computer over a network, as if they were logged on to a local machine to execute a command. In order to log on to a remote computer by Telnet, you must know the legal user name and password on the remote machine. Although some systems do provide logon capabilities for remote users, the ability to restrict guest operations is limited for security reasons, so there are few features that can be used in this case, and when remote users are allowed to log on, the system usually places these users in a restricted shell. In case the system is compromised by a malicious or careless user. Users can also use Telnet to log on to their computers from remote sites, check e-mail, edit files, and run programs as if they were logged on locally. However, users can only use a terminal-based environment rather than an X-wndows environment, and Telnet only provides terminal emulation for the common terminal, and does not support graphics environments such as X Wndow.

  The general form of the Telnet command is:

Telnet host name/IP

WHERE "hostname/IP" is the host name or IP address of the remote machine to which you want to connect. If this command succeeds, the login: prompt will be obtained from the remote machine.

  The procedure for logging in using the Telnet command is as follows:

$ telnet host name/IP

Once Telnet is successfully connected to the remote system, the login information is displayed and the user is prompted to lose the user name and password. If the username and password are entered correctly, you can log on successfully and work on the remote system.

You can enter many commands after the Telnet prompt to control the Telnet session process, which is described in detail in the Telnet online Help manual.

Example:

# telnet 192.168.1.66

Trying 192.168.1.66 ...

Connected to 192.168.1.66.

Escape character is ' ^] '.

Red Hat Linux Release 7.3 (Valhalla)

Kernel 2.4.18-3 on a i686

Login:test

Password:

Last Login:mon Feb 9 15:03:56 from 10.153.21.166

[Test@localhost test]$

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.