ssh-keys/get-this-key.sh
2024-07-08 14:53:12 +01:00

5 lines
130 B
Bash
Executable File

THISHOST=$(hostname)
cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.id_ed25519.pub
cp $HOME/.ssh/id_rsa.pub ./${THISHOST}.id_rsa.pub