Commit 9658432a authored by DJ Walker's avatar DJ Walker
Browse files

remove extraneous .pub from keypar; echo public key instead of private

parent f3436360
...@@ -75,7 +75,7 @@ mysql -u root -proot ops < $webpath/Ops/db.sql ...@@ -75,7 +75,7 @@ mysql -u root -proot ops < $webpath/Ops/db.sql
#GENERATE SSH KEY #GENERATE SSH KEY
mkdir /home/$user/.ssh mkdir /home/$user/.ssh
chown -R $user.$user /home/$user/.ssh chown -R $user.$user /home/$user/.ssh
ssh-keygen -f /home/$user/.ssh/id_rsa.pub -t rsa -C "$email" ssh-keygen -f /home/$user/.ssh/id_rsa -t rsa -C "$email"
echo "setup finished\n" echo "setup finished\n"
echo "please paste this key into gitlab so the server can sync with it: " echo "please paste this key into gitlab so the server can sync with it: "
cat ~/.ssh/id_rsa.pub cat ~/.ssh/id_rsa.pub
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment