# Linux

# Create new SSH key and add it to ssh-agent

```
ssh-keygen -t ed25519 -C "your_email@example.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
```

# Enable new SSH key for login

On the local computer:

```
ssh-copy-id -i ~/.ssh/<KEY_NAME>.pub <USERNAME>@<REMOTE>
```