Commit cf77fe7a authored by Aral Balkan's avatar Aral Balkan
Browse files

Now adding SSH key to authorized_keys for Builder access.

parent dbeea46d
......@@ -186,6 +186,11 @@ sudo -u git bash -c "echo \"$privateKey\" > /home/git/.ssh/id_rsa"
# Restrict the permissions on the private ssh key
sudo -u git chmod 600 /home/git/.ssh/id_rsa
# Add the key to the authorised keys file as the builder will
# want to access it also.
# TODO: We should have separate keys for each of the servers.
sudo -u git cat /home/git/.ssh/ >> /home/git/.ssh/authorized_keys
# Create the repo
# TODO: Do you get the authenticity warning for actual Let’s Encrypt URLs also?
#  * Generate actual cert for and try again.
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