ssh-keys/generate-new-key.sh

6 lines
111 B
Bash
Raw Normal View History

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