ssh-keys/generate-new-key.sh
2023-08-14 00:14:42 +01:00

6 lines
126 B
Bash
Executable File

THISHOST=$(hostname)
ssh-keygen -t rsa -b 4096 -C "martind2000@gmail.com"
cp $HOME/.ssh/id_rsa.pub ./${THISHOST}.id_rsa.pub