title: continuous deployment with jenkins
body: <p>I want to deploy with jenkins to the test environment and to the production environment. To do so I need to connect to the server of the wanted environment, something like ssh/scp.</p>
  
  <p>I would like to know what the best way is. </p>
  
  <p>I found some plugins to do this, like the Jenkins-Deploy-Plug-in or Jenkins Publish over SSH Plugin. The first has lots of issues, which is not really trustworthy to deploy to production and for the second you need to change the global configuration, which is manual work for every deploy.</p>
  
  <p>Any ideas how to solve this? Maybe with some scripts or plugins?</p>
  
  <p>The only current idea I have is: to connect with jenkins to a server (maybe with the SSH Plugin) and to execute there a script that connects to the wished environment. But that are two connections. Is that really neccessary? I hope for a more straightforward way for this.</p>
  
  <p>thanks for any hint.</p>