8505c4dc87ecf233ca8bd3b0692c67423f9fe80a
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.
Quick Smart Public-Key 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.
curl -sL https://git.1337733.xyz/martin/sshconfig/raw/branch/main/import_keys.sh | bash
Quick smart Config Import
curl -sL https://git.1337733.xyz/martin/sshconfig/raw/branch/main/import_config.sh | bash
curl
echo "" >> ~/.ssh/authorized_keys && curl -s https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
wget
echo "" >> ~/.ssh/authorized_keys && wget -qO- https://git.1337733.xyz/martin/sshconfig/raw/branch/main/authorized_keys >> ~/.ssh/authorized_keys
Set File Permissions
chmod 600 ~/.ssh/authorized_keys
Description
Languages
Shell
100%