Traditional Culture Encyclopedia - Traditional culture - Turn off the ssh password and log in.
Turn off the ssh password and log in.
0. Check whether ssh-keygen is installed.
If the above error occurs, you need to install ssh-key from 1 Otherwise, start at 2. Create an authorization file.
1. install ssh-key.
Install the RSA key, just enter it all the way.
2. Create an authorization file
Write the contents of local id_rsa.pub to authorized_keys. Note: it is local, not server's.
3. Password-free login test
Theoretically, it just landed.
1. Modify the configuration file
Modify the content, generally has been set. Just modify it, not add it.
2. Restart the ssh service
Ok, this will prevent others from cracking the password.
Turn off SSH traditional password login mode.
- Previous article:Why are so-called tax havens almost all small islands?
- Next article:What is the bandwidth of the wireless network frequency band?
- Related articles
- What are the steps to find dihedral angle?
- Excellent junior high school essay 600 words sample 10 articles
- Experience of Listening to Professor Li Meijin's Lecture
- Back to traditional Mongolian
- Self-introduction in museum interview
- How to implement in the physical education classroom "health first" idea
- How long does it take to cook?
- Do you think the Kobe-era Lakers could beat the current Warriors?
- Why do most mental patients expect too much from themselves and are not satisfied with the status quo?
- Great Wisdom v5.60 Classic Edition, Great Wisdom v5.6 Free Download, Great Wisdom v5.6 Software Download Address