I constantly get permission denied errors.
My problem is very similar to SSH keys in Dockerfile
PROJECT_ID and PROJECT_NAME are environment variables supplied in the yaml file just above. I can’t for the life of me get the ssh key to be injected properly.
I’ve tried without the run: echo $PRO... command above and just using SSH_KEY=$PROJECT_SSH_KEY but that doesn’t work either. Any help appreciated.
Ok so adding an ssh key as a project secret seems impossible as the formatting comes out wrong and it keeps failing. Using the way described here I could at least get it to authorise if I ssh’d into the container.
Took me awhile to realise that the footprint is the string appended to the id_rsa file. In other words
“SO:ME:FIN:G:ER:PR:IN:T” becomes id_rsa_somefingerprint. Would be nice if they mentioned this in the docs. Initially looking at this file I thought it was a random string.