18 lines
599 B
Markdown
18 lines
599 B
Markdown
# Public SSH Keys
|
|
|
|
This repository serves as a central storage for my public SSH keys. They can be quickly and easily downloaded to new servers via `curl` or `wget` to set up passwordless SSH login.
|
|
|
|
## curl
|
|
```bash
|
|
echo "" >> ~/.ssh/authorized_keys && curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
|
|
```
|
|
|
|
## wget
|
|
```bash
|
|
echo "" >> ~/.ssh/authorized_keys && wget -qO- https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
|
|
```
|
|
|
|
# Set File Permissions
|
|
```bash
|
|
chmod 600 ~/.ssh/authorized_keys
|
|
``` |