mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-06-04 18:24:01 +08:00
Added a flag for connection timeouts
This commit is contained in:
committed by
Thomas Boerger
parent
c816c75fc6
commit
fd259fd403
@@ -10,6 +10,7 @@ The following parameters are used to configure the plugin:
|
||||
* **user** - user to log in as on the remote machine
|
||||
* **key** - private SSH key for the remote machine
|
||||
* **sleep** - sleep for seconds between host connections
|
||||
* **timeout** - timeout for the tcp connection attempt
|
||||
* **commands** - list of commands to execute
|
||||
|
||||
The following secret values can be set to configure the plugin.
|
||||
@@ -19,6 +20,7 @@ The following secret values can be set to configure the plugin.
|
||||
* **SSH_USER** - corresponds to **user**
|
||||
* **SSH_KEY** - corresponds to **key**
|
||||
* **SSH_SLEEP** - corresponds to **sleep**
|
||||
* **SSH_TIMEOUT** - corresponds to **timeout**
|
||||
|
||||
It is highly recommended to put the **SSH_KEY** into a secret so it is not
|
||||
exposed to users. This can be done using the drone-cli.
|
||||
|
||||
Reference in New Issue
Block a user