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