Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
SSH for gitlab CI
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 would like to make this yml work for me:
I have created the ssh key on the webserver and on the gitlab server I added the public key.
And then I set varaible SSHPRIVATEKEY 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.×