Learning by doing.
How to SSH without Password?
Do you use
ssh to login a server remotely?
Have you been tired of typing in your password again and again?
Let’s see how to ssh without password!
Step 1. Generate a pair of authentication keys locally.
Enter till it’s done.
Then you will get two files in your
id_rsa, which is your private key;
id_rsa.pub, which is your public key.
Step 2. Upload your public key to the remote server.
Type in your password, then your loacal
id_rsa.pub will be uploaded to the
Step 3. Deal with the authority stuff if necessary.
On the remote server:
Now you will be capable of loging into your remote server withou typing in your password. Yey~