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