In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what to do about the failure of telnet exit under CentOS. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
How to exit from Linux's telnet
1.ctrl +] quit
Telnet is often used to test whether the port is open properly.
However, there is a problem that everyone will encounter, after telnet enters a port, there is no way to exit, so in order to continue testing, we have to close the dos (or other) window and reopen one. Here is a way to exit to the normal telnet interface by holding down ctrl+].
Welcome to Microsoft Telnet Client
Escape Character is' CTRL+]'
(Microsoft) Telnet >
Then type quit and you can exit completely.
Simple usage of 2.Telnet:
First of all, build a Telnet server. In the past, some unused services were turned off in order to make the machine faster.
Open your Telnet in "Control Panel"-"Administration"-"Services", and enter the user name and password you want the client to enter in the login tab, then OK and the Telnet server will be set up.
Test it on your own machine. On the command line, type Telnet native IP to get in, and then follow the steps to enter the user name and password step by step.
If you want to exit, use "Ctrl+]" and then exit via quit.
3. The second way to run the telnet program:
Enter command: telnet
The program runs at this time, but it is not connected (because the host is not specified)
Then the screen shows: telnet >
This is the prompt for telnet, which indicates that the telnet program is running and is waiting for the user to enter a command to use telnet. If you want to connect to a remote host, use the open command, that is, enter the command open and attach the network address of the host, as shown in
Telnet > open dns.hunu.edu.cn
The connection effect is exactly the same as that of the first method.
4. How to log in to a system with telnet?
A: the original telnet login method can be achieved on the command line. For example, if you enter telnet www.lqqm.net on the windows command line, you can log in to this site. Enter telnet www.yjrg.net and you can log in. BBS; suggests downloading and using special telnet login tools, such as cterm,sterm,fterm, personal three have been used for a period of time, and feel that cterm is best used; other professional telnet login tools include secureCRT and so on. It should be noted that the telnet command uses the UDP protocol and the SSH uses the TCP protocol. The essential difference between the two determines that the login speed of telnet is faster than that of SSH, but the login of SSH is safer than that of telnet (the password is generally not deciphered). The relationship between the two is the same as the relationship between ftp and tftp.
Telnet idle timeout automatically exits
Set the telnet connection to automatically exit the current session when it is idle for more than a certain period of time
Set parameter TMOUT, in seconds (s)
For example:
TMOUT=21600, the telnet connection is automatically disconnected after it has been idle for 6 hours.
You can set the global TMOUT in / etc/profile or the TMOUT in the .profile in your own home directory.
When the idle reaches the set value, the screen displays
Timed out waiting for input: auto-logout
And disconnect the current telnet connection
View the TMOUT value of the current session
Echo $TMOUT
This feature is disabled when TMOUT is not set or TMOUT=0 is set.
What if telnet exit fails under CentOS
I can't get out! Ctrl + Ctrl + zEscl, ESC, Q, authorities, quitts, exit, none of it.
Note the output information after a successful telnet connection:
Escape character is'^]'.
Ctrl +]
The method is finally right.
Telnet "?
Commands may be abbreviated. Commands are:
Close close current connection
Logout forcibly logout remote user and close the connection
Display display operating parameters
Mode try to enter line or character mode ('mode?' For more)
Open connect to a site
Quit exit telnet
Send transmit special characters ('send?' For more)
Set set operating parameters ('set?' For more)
Unset unset operating parameters ('unset?' For more)
Status print status information
Toggle toggle operating parameters ('toggle?' For more)
Slc change state of special charaters ('slc?' For more)
Z suspend telnet
! Invoke a subshell
Environ change environment variables ('environ?' For more)
? Print help information
Telnet "close
Connection closed.
Enter the question mark and enter to view the help
Enter close or quit and enter enter to exit telnet
This is the end of this article on "how to quit telnet under CentOS". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it out 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.