In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What this article shares with you is a detailed introduction to the use of the Linux telnet command. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
The user logs in remotely using the telnet command. This command allows users to communicate between remote computers using the telnet protocol, and users can log in to remote computers over the network as if they were logged in to the local machine to execute the command.
In order to log in to a remote computer through telnet, you must know the legal user name and password on the remote machine. Although some systems do provide login functions for remote users, for the sake of security, the operation rights of guests are limited, so there are few functions that can be used in this case. When allowing remote users to log in, the system usually places these users in a restricted shell to prevent the system from being compromised by malicious or careless users.
Users can also use telnet to log in to their computers from remote sites, check emails, edit files, and run programs as if they were logging in locally. However, users can only use terminal-based environment instead of X Wndows environment. Telnet only provides terminal emulation for ordinary terminals, but does not support graphic environments such as X Wndow.
The general form of the telnet command is:
Telnet hostname / IP
Where "hostname / IP" is the hostname or IP address of the remote machine to connect to. If this command is executed successfully, you will get the login: prompt from the remote machine.
The procedure for logging in using the telnet command is as follows:
$telnet hostname / IP
Start a telnet session.
Once the telnet is successfully connected to the remote system, the login information is displayed and the user is prompted for a user name and password. If the user name and password are entered correctly, you can successfully log in and work on the remote system.
You can enter a number of commands after the telnet prompt to control the telnet session, which are described in detail in the telnet online help manual.
Here is an example of a telnet session on a Linux computer:
$telnet server. Somewhere. Com Trying 127.0.0.1... Connected to serve. Somewhere. Com. Escape character is?]. "TurboLinux release 4. 0 (Colgate) kernel 2.0.18 on an I486 login: bubba password: Last login:Mon Nov L5 20:50:43 for localhost Linux 2. 0.6. (Posix) .server: ~ $server: ~ $logout Connection closed by foreign host $
After the user ends the remote session, be sure to log out of the remote system using the logout command. Telnet then reports that the remote session is closed and returns to the Shell prompt on the user's local machine.
Thank you for reading! This is the end of the article on "detailed introduction to the use of the Linux telnet command". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.