10 lines
199 B
Bash
10 lines
199 B
Bash
# To be run on the server
|
|
|
|
ssh-keygen -t rsa -b 4096 -C "Auto-generated by Marshal" -N "" -f ~/.ssh/id_rsa
|
|
|
|
# start the ssh-agent in the background
|
|
eval $(ssh-agent -s)
|
|
ssh-add ~/.ssh/id_rsa
|
|
|
|
exit 0
|