added some un-tested scripts

db setup and password change
auto ssh key gen
This commit is contained in:
2019-10-29 02:10:00 -06:00
parent 69e0bd8963
commit 2705f2dc94
4 changed files with 54 additions and 1 deletions

7
ssh/ssh-setup.sh Normal file
View File

@ -0,0 +1,7 @@
# 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