> For the complete documentation index, see [llms.txt](https://www.devops.buzz/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.devops.buzz/public/ssh/passwordless-auth-with-rsa-key.md).

# Passwordless auth with RSA key

## Setup the client

Create your RSA key

```bash
ssh-keygen -t rsa -b 4096
```

{% hint style="info" %}
Accept all default (**do not** input a password)
{% endhint %}

Copy the content of the following file:

```bash
cat ~/.ssh/id_rsa.pub
```

## Setup the server

Edit the following file:

```bash
nano ~/.ssh/authorized_keys
```

And paste the `id_rsa.pub` content from the client.
