ssh-keys/get-this-key.sh

5 lines
130 B
Bash
Raw Permalink Normal View History

2022-11-14 08:47:44 +00:00
THISHOST=$(hostname)
cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.id_ed25519.pub
2024-07-08 13:53:12 +00:00
cp $HOME/.ssh/id_rsa.pub ./${THISHOST}.id_rsa.pub