ssh-keys/generate-new-key.sh

6 lines
130 B
Bash
Executable File

THISHOST=$(hostname)
ssh-keygen -t ed25519 -C "martind2000@gmail.com"
cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.id_ed25519.pub