Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I have created a new key-pair and the public key is added to the authorized_keys of the remote server. Using the private key I can SSH and SCP to the remote server, but it doesn't work while executing through Jenkins. Commented May 19, 2016 at 14:24
  • You can setup a "credential" so that Jenkins can access repositories. The standard way seems to be to point Jenkins to the repository that it can access using scp/ssh and you trigger Jenkins to pull from the repository by hitting the project's built path using a trigger token and curl. Commented May 19, 2016 at 14:57