How to setup SSH key authentication in Ubuntu
Step 1 – Create the RSA Key Pair
The first step is to create the key pair on the client machine:
You can press enter here, saving the key.
#Enter passphrase (empty for no passphrase):
#Enter passphrase again (empty for no passphrase):
The entire key generation process looks like this:
Step 2 – Create id_rsa.pub file for public key location
Step 3 – Copy the public key to remote machine
And put the remote machine password for adding the key
Step 4 – Now we login the remote machine without password
Now we got the remote machine without password
- You must login to post comments
Please login first to submit.