I\'m trying to connect jenkins on a github repo.
When I specify the Repo URL jenkins return the following error message:
Failed to connect to
On Ubuntu, placed your id_rsa
and id_rsa.pub
files in /var/lib/jenkins/.ssh
Make Jenkins own them
sudo chown -R jenkins /var/lib/jenkins/.ssh/
Make sure that Jenkins key is added as deploy key with RW access in GitHub (or similar) - use the id_rsa.pub
key for this.
Now everything should jive with the SCM Sync Plugin.