|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

tfnico Could you explain further how you configure Jenkins to allow a private key with a passphrase to work with the git plugin?
You said that "Private key in the text field works fine for me, both with and without passphrase", yet when I've added a credential to Jenkins using a private key which requires a passphrase, even if I enter the passphrase, I'm not able to use that private key based credential from the git plugin to checkout a repository whose access is controlled by that private key.
The steps I took in my failed attempt included:
$ sudo useradd private
$ sudo su - private
$ ssh-keygen
$ git config --global user.name "Private User"
$ git config --global user.email mwaite@wheezy64b
$ cd .ssh
$ git init
$ git add .
$ git commit -m "First checkin"
$ cd ~
$ git clone --bare .ssh ssh.git
$ cd ~/.ssh
$ git remote add origin ../ssh.git
$ git branch --set-upstream master origin/
$ cd ~/.ssh
$ cp id_rsa.pub authorized_keys
$ eval $(ssh-agent)
$ ssh-add
$ ssh wheezy64b ls .ssh
$ git clone ssh://localhost/~private/ssh.git tmp