Find plugins

SSH2.5Minimum Jenkins requirement: 1.609.3ID: ssh

Installs: 25689
Last released: 4 months ago
Edmund Wagner
Lukasz Jader

Plugin Information

Plugin ID



In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core

2.5 (archives)
Jul 07, 2017
ssh-credentials (version:1.9)
jsch (version:

Source Code
Issue Tracking
Pull Requests

Open Issues
Pull Requests
Edmund Wagner (id: edmund_wagner)
Lukasz Jader (id: ljader)



2016-Nov 18297
2016-Dec 18516
2017-Jan 19629
2017-Feb 19743
2017-Mar 21612
2017-Apr 21432
2017-May 22523
2017-Jun 23225
2017-Jul 23821
2017-Aug 24887
2017-Sep 25601
2017-Oct 25689

Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:

Plugin info

This Plugin was derived from the very cool SCP Plugin.You can use the SSH Plugin to run shell commands on a remote machine via ssh.


First go to the global configuration page and add a SSH site.

For your job select a configured site and enter the shell commands that should be executetd before and after the build.

Log will look like this.


  • i18n
  • we also need a post deploy script (ask some of the core team how to do that)
  • investigate stop behavior of Hudson jobs using the ssh Plugin
  • use same sites as scp plugin (plugin dependencies???)
  • ...



Version 2.5 (July 8 2017)
  • [JENKINS-21436] Integrate with the SSH Credentials Plugin; previous credentials are migrated

  • [JENKINS-23231] Add timeout parameter

  • [JENKINS-24913] Don't show sensitive build variables in console log

  • [JENKINS-12191] Restore resolving hostname from environment variables

  • [JENKINS-12191] Support build variables (substitution variables) during command execution (env variables are exported before the script)

  • [JENKINS-24402] Updated to latest version of JSch (0.1.54) to support modern algorithms

  • Pull JSch dependency via Jenkins hosted jsch-plugin to use recommended way of getting common dependencies in Jenkins

  • Set Jenkins 1.609.3 as the oldest supported version

  • Show warning for missing parameters during ajax form validation

  • Fix security issue

Due to added integration with SSH Credentials Plugin, this version might NOT be fully compatibile with previous version. Sorry!

Please backup your org.jvnet.hudson.plugins.SSHBuildWrapper.xml before upgrading to version 2.5.

Version 2.4 (Jan 08 2014)
  • ability to use variables when defining SSH host
  • miscellaneous fixes
  • added keep alive interval
Version 2.3 (Sep 24 2012)
Version 2.2 (Sep 03 2012)
Version 2.1 (Aug 14 2012)
  • configurable pty mode
Version 2.0 (Jun 26, 2012)
  • support multiple sites on the same machine
Version 1.6 (Jun 24, 2012)
  • support parameterized builds
Version 1.3 (Jun 25, 2011)
Version 1.2 (Feb 17, 2011)
  • Fix to avoid executing empty script.
Version 1.1 (Jun 2, 2010)
  • Removed isEmpty() for 1.5 comp; better input areas
Version 1.0 (Feb 24, 2010)
  • Initial release.
ArchivesGet past versions
Previous Security Warnings