In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
At the beginning of contact, not very familiar with, make a small record, correct later
Generate public and private keys
Ssh-keygen-t dsa-P''- f ~ / .ssh/id_dsa
Import the public key into the authorized_keys file
Cat ~ / .ssh/id_dsa.pub > > ~ / .ssh/authorized_keys
Normally, ssh will not need to use a password when logging in at this time.
If prompted: Permission denied, please try again
Modify ssh configuration, path / etc/ssh/sshd_config
PermitRootLogin without-password
Change it to PermitRootLogin yes
If you still need to use a password during ssh after the above configuration, there should be a problem with the public key of the current machine. You can send the public key of the target machine to the current machine again and import it into the authorized_keys file again.
For example, master can log in to slave without a password, but slave cannot log in to master, indicating that there is a problem with the public key of slave. In this case, send the authorized_keys of master to master.
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.