title: Jenkins download file using SCP
body: <p>I'm new to Jenkins and I can't do what seems to be trivial.</p>
  
  <p>I would like to download a file from a remote server to my Jenkins master server using SCP.</p>
  
  <p>Manually, on the Jenkins server, I can run this command successfully:</p>
  
  <pre><code>scp -i /var/lib/jenkins/.ssh/private_key jenkins@remoteServer:/home/jenkins/file.txt /tmp/.
  # I enter the passphrase and press enter
  </code></pre>
  
  <p>I could find the plugin Publish over SSH, but unfortunately it can only send files.</p>
  
  <p>The remoteServer is not a Jenkins slave.</p>