06bdc5e1130f2fbb24f1a4252f6c3cb9d423ca2c
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 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
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%