ssh-keys/generate-new-key.sh

6 lines
111 B
Bash
Executable File

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