Make it possible to pass an SSH agent to jobs

Change-Id: Ia51bde86e1e22950e72662bbbd1f654eded60958