DevOps Buzz
Search…
Bash / Shell
Bitbucket
Distros
Elasticsearch
General
Guidelines / Standards
microk8s
Prometheus
RabbitMQ
VirtualBox
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 4096
Accept all default (do not input a password)
Copy the content of the following file:
cat ~/.ssh/id_rsa.pub

Setup the server

Edit the following file:
nano ~/.ssh/authorized_keys
And paste the id_rsa.pub content from the client.
Copy link
Outline
Setup the client
Setup the server