diff --git a/README.md b/README.md index 97ec937..3706313 100644 --- a/README.md +++ b/README.md @@ -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. +## 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 ```bash echo "" >> ~/.ssh/authorized_keys && curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys