README.md aktualisiert
This commit is contained in:
@@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
## Quick Smart Import
|
||||||
|
This command will download the keys, append only the **new** ones, and keep your comments intact. It will not create duplicates if run multiple times.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -sL [https://git.1337733.xyz/martin/sshconfig/raw/branch/main/import_keys.sh](https://git.1337733.xyz/martin/sshconfig/raw/branch/main/import_keys.sh) | bash
|
||||||
|
```
|
||||||
|
|
||||||
## curl
|
## curl
|
||||||
```bash
|
```bash
|
||||||
echo "" >> ~/.ssh/authorized_keys && curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
|
echo "" >> ~/.ssh/authorized_keys && curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
|
||||||
|
|||||||
Reference in New Issue
Block a user