have you tried using the ssh-agent plugin?
On 22 October 2013 00:49, JonathanRRogers <[email protected]> wrote: > > > On Monday, October 21, 2013 8:47:20 AM UTC-4, Mitul Parmar wrote: >> >> Hi, >> >> I am new to jenkins. I have created a job which tries to pull changes >> from git repositories using ssh. I have created SSH key for the jenkins >> user and I am able to do "ls-remote -h ssh://git@myhost/repo.git" >> successfully. >> I have set all the required parameter for Git plugin. However I am confused >> regarding how to pass the "PASSPHRASE KEY" for pulling the changes from my >> Git Repositories. (There is only one protocol supported in my Git >> Repository i.e. SSH with authentication). Has anybody passed a PASSPHRASE >> KEY for pulling the changes from Git Repositories using Jenkins job ? >> >> Any help will be appriciated. Thanks in advance. >> >> If you must configure public key SSH authentication to work unattended, > it's a lot easier to simply store the private key unencrypted than to store > the passphrase. If you store the passphrase, there's little point to > encrypting the private key any way. This HOWTO will help you change the > passphrase. If you don't provide a passphrase, the private key will simply > be stored unencrypted. > > <URL: > https://wiki.archlinux.org/index.php/SSH_Keys#Changing_the_private_key.27s_passphrase_without_changing_the_key > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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/groups/opt_out.
