SSH Plugin
The plugin provides functionality to execute commands via Secure Shell (SSH) connection protocol.
Installation
implementation(group: 'org.vividus', name: 'vividus-plugin-ssh', version: '0.4.8')
Properties
It’s allowed to configure unlimited number of SSH connections via mechanism of the dynamic properties. The properties prefix example is:
ssh.server.my-server
where my-server
is a key used to refer SSH connection in the steps. The key is defined by users, must be unique and can’t contain dots.
The properties marked with bold are mandatory. |
Property Name | Acceptable values | Default | Description |
---|---|---|---|
|
<string> |
The name of the user logging in |
|
|
hostname or IP |
The remote host |
|
|
0..65535 |
The remote port (The standard TCP port for SSH is 22) |
|
|
|
|
Enable forwarding of the authentication agent connection |
|
|
|
Allocate a Pseudo-Terminal |
The following properties are used only for the password-based authentication |
|||
|
<string> |
The password |
|
The following properties are used only for the public key authentication |
|||
|
<string> |
The private key |
|
|
<string> |
The public key |
|
|
<string> |
The passphrase for the private key |
|
The following properties are not applicable for SFTP |
|||
|
|
|
In common *nix OpenSSH server:
With less common SSH servers, the difference can be even more significant. Some servers may even not support one of the channels. It is also quite common that they seemingly support both, but one of them (typically the |