Permission denied (public key) during fetch from GitHub with Jenkins user on Ubuntu
Here is my setup: Jenkins is running on my linux machine as 'jenkins' user. I have generated a ssh key-pair as described in Linux - Setup Git , for the 'jenkins' user. When I sudo su jenkins and try ssh -vT git@github.com , I am always asked my passphrase, but I am always eventually authenicated. (the verbose option shows which key is used, among others). I could clone my repo from GitHub using jenkins: Thusly: jenkins@alpm:~/jobs/test git/workspace$ git pull Enter passphrase for key '/var/lib/jenkins/.ssh/id*_rsa': Already up-to-date. Up to this point I have followed the instructions to the