ForwardAgent in Jenkins
Posted
by
r_2
on Server Fault
See other posts from Server Fault
or by r_2
Published on 2012-02-07T20:36:55Z
Indexed on
2014/08/21
4:23 UTC
Read the original article
Hit count: 572
I'm trying to enable ForwardAgent in the "Publish over SSH" Jenkins Plugin. This would allow jenkins to execute deployments, rsyncs and svn+ssh checkouts on remote servers. But there's no option for this in the GUI.
ForwardAgent is set to yes in /etc/ssh/ssh_config and in /var/lib/jenkins/.ssh/config, but when Jenkins jobs login over ssh, the remote session does not have the key loaded in agent. ("Could not open a connection to your authentication agent.")
Is there a way to force ForwardAgent, or a better way to do this (via a Jenkins slave)?
Thanks for any ideas, much appreciated!
© Server Fault or respective owner