In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "linux how to create a local key-free login". The explanation in the article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "linux how to create a local key-free login".
Key-free login steps
1. Quote from hadoop's official website
Ssh-keygen-t dsa-P''- f ~ / .ssh/id_dsa
Simply explain that the password of the production ssh key is''to .ssh in the user directory.
There is a .ssh directory under the root directory.
Under the ssh directory
Id_dsa is the private key
Id_dsa.pub is the public key
Execute the following command
Cat ~ / .ssh/id_dsa.pub > > ~ / .ssh/authorized_keys
Append your public key to the authorized_keys file
Authorized_keys: stores the public key of remote secret-free login, and records the public keys of multiple machines mainly through this file.
Add an extra authorized_keys file
At this time, the private key login of this machine is successful.
The second method is to set the local key-free login.
Ssh-keygen-t rsa
Enter key all the way
Generate a .ssh file
View the secret key in .ssh
Set local key-free login
Know_hosts: list of known host public keys
Configuration successful
Thank you for your reading, the above is the content of "how to create a native key-free login for linux". After the study of this article, I believe you have a deeper understanding of how to create a secret-free login for linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.