title: Use ssh credentials in jenkins pipeline with ssh, scp or sftp
body: <p>I want to use scp/ssh to upload some files to a server. I discover that I need to use certificate-based authentication, but the question is how? Really what I want to do is to use the same sort of credentials I use with git - passworded ssh cert stored in Jenkins. However, I can't work out how to - the snippet generator has no obvious option for that.</p>
  
  <p>What do others do? Is there an undocumented feature that would do this?</p>