In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the points for attention of using ssh to manage VPS under linux. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
Use key file interactive login way to connect to ssh. Therefore, the first step is to generate the key file for ssh.
1 、 ssh-keygen
2. Then, download the key and public key on the server. Save it in the current user's .ssh folder.
The problem to note here is that you must download both, and only download the key, which will prompt you to need the public key. Putty seems to have this problem. Just download the key and convert it.
The login problem of ssh was solved, and then a new problem came again, because the author surfed the Internet through the intranet HTTP agent in the company. It seems that proxies cannot be used directly on ssh. After consulting the data, the author found that. Does ssh need to go through the tunnel (tunnel) to use the HTTP proxy (or is there another good way? The author does not know = =!, netizens do not hesitate to give advice.
1. Download a tunnel software, such as corkscrew download address, decompress and compile
Tar zxf corkscrew-2.0.tar.gz
Cd corkscrew-2.0
. / configure
Make & & make install
2. Modify ssh configuration
Vi / etc/ssh/ssh_config
Add
Host *
ProxyCommand corkscrew server port h p
After saving, you can log in to ^ _ ^ directly using ssh
The above is all the contents of the article "what are the precautions of using ssh to manage VPS under linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.