title: how to setup ssh keys for jenkins to publish via ssh
body: <p>Jenkins requires a certificate to use the <em>ssh</em> publication and <em>ssh</em> commands. It can be configured under <code>"manage jenkins" -&gt; "Configure System"-&gt; "publish over ssh"</code>.</p>
  
  <p>The question is: How does one create the certificates?</p>
  
  <p>I have two ubuntu servers, one running Jenkins, and one for running the app.</p>
  
  <p>Do I set up a Jenkins cert and put part of it on the deployment box, or set up a cert on the deployment box, and put part of it on Jenkins?  Does the cert need to be in the name of a user called Jenkins, or can it be for any user?  We don't have a Jenkins user on the development box.</p>
  
  <p>I know there are a number of incompatible ssh types, which does Jenkins require?</p>
  
  <p>Has anyone found a guide on how to set this all up (how to generate keys, where to put them etc.)?</p>