Passwordless auth with RSA key
How to connect to a SSH server without password.
Setup the client
Create your RSA key
ssh-keygen -t rsa -b 4096Copy the content of the following file:
cat ~/.ssh/id_rsa.pubSetup the server
Edit the following file:
nano ~/.ssh/authorized_keysAnd paste the id_rsa.pub content from the client.
Last updated