Resolve Linux Telnet commands

Source: Internet
Author: User

In many systems, Telnet is involved and used. Today, we will explain how to use and operate Linux Telnet commands. Here we will explain some important content and commands. Hope to help you. Use the Telnet command to log on remotely. This command allows you to use the Telnet protocol to communicate between remote computers. you can log on to a remote computer over the network, just as you log on to a local machine and execute commands.

To log on to the remote computer through Telnet, you must know the valid user name and password on the remote computer. Although some systems do provide the logon function for remote users, the Operation permissions of guests must be restricted for security reasons. Therefore, in this case, few functions can be used. When remote users are allowed to log on, the system usually places these users in a restricted shell to prevent the system from being maliciously or accidentally damaged.

You can also use Telnet to log on from a remote site to your computer, check emails, edit files, and run programs, just like logging on locally. However, you can only use the terminal-based environment instead of the X Wndows environment. Telnet only provides terminal Simulation for common terminals, but does not support X Wndow and other graphical environments.

Telnet commands are generally used as follows:

Telnet host name/IP Address

The "host name/IP Address" is the host name or IP address of the remote machine to be connected. If the command is successfully executed, the login: prompt will be obtained from the remote machine.

The logon process using the Linux Telnet command is as follows:

$ Telnet host name/IP Address

Start the Telnet session.

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

You can enter many commands at the end of the Telnet prompt to control the Telnet session process. These commands are described in detail in the Telnet online help manual.

The following is an example of a Telnet session on a Linux computer:

 
 
  1. $ Telnet server. somewhere. com  
  2. Trying 127.0.0.1…  
  3. Connected to serve. somewhere. com.  
  4. Escape character is '?]'.  
  5. “TurboLinux release 4. 0 Colgate)  
  6. kernel 2.0.18 on an I486   
  7. login: bubba  
  8. password:  
  9. Last login:Mon Nov l5 20:50:43 for localhost  
  10. Linux 2. 0.6. Posix).  
  11. server: ~$  
  12. server: ~$ logout  
  13. Connection closed by foreign host  
  14. $  

After the user finishes the remote session, make sure to use the logout command to exit the remote system. Telnet then reports that the remote session is disabled and returns to the Shell prompt of the user's local machine. This completes the Linux Telnet command operations.
 

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.