I’m trying to setup gitlab CI. I need to understand how to install ssh to be able to copy files to the webserver.
I have created the ssh key on the webserver and on the gitlab server I added the public key. And then I set varaible SSH_PRIVATE_KEY as the private key.
When I run pipeline I get: Permission denied (publickey,password).
Do I need to do anyting on the gitlab runner macchine?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!