Hey everyone!
I'd like to use Pipelines environment variables to handle a SSH key. I literally followed the documentation. Well I think at least. But I keep getting "Permission denied (publickey)."
Does anyone know where I could have a look to fix this?
Here's the configuration I use the same as the documentation) :
- mkdir -p ~/.ssh
- cat my_known_hosts >> ~/.ssh/known_hosts
- (umask 077 ; echo $SSH_KEY | base64 --decode > ~/.ssh/id_rsa)
- ssh $USER@$HOST 'echo "connected to `hostname` as $USER"'