2019-09-29 04:34:52 +02:00
|
|
|
name: 'SSH Remote Commands'
|
|
|
|
description: 'Executing remote ssh commands'
|
|
|
|
author: 'Bo-Yi Wu'
|
|
|
|
inputs:
|
|
|
|
host:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH host address.'
|
2019-09-29 04:34:52 +02:00
|
|
|
port:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH port number.'
|
|
|
|
default: "22"
|
2019-12-30 12:50:55 +01:00
|
|
|
passphrase:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Passphrase for the SSH key.'
|
2019-09-29 04:34:52 +02:00
|
|
|
username:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH username.'
|
2019-09-29 04:34:52 +02:00
|
|
|
password:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH password.'
|
2020-01-30 15:40:33 +01:00
|
|
|
sync:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Enable synchronous execution if multiple hosts are involved.'
|
2020-05-24 04:54:31 +02:00
|
|
|
use_insecure_cipher:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Include more ciphers by using insecure ciphers.'
|
2020-05-24 07:13:09 +02:00
|
|
|
cipher:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Allowed cipher algorithms. If unspecified, a sensible default is used.'
|
2019-09-29 04:34:52 +02:00
|
|
|
timeout:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Timeout duration for establishing SSH connection to the host.'
|
2019-09-29 04:34:52 +02:00
|
|
|
default: "30s"
|
|
|
|
command_timeout:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Timeout duration for SSH commands execution.'
|
2019-11-30 16:01:49 +01:00
|
|
|
default: "10m"
|
2019-09-29 04:34:52 +02:00
|
|
|
key:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa.'
|
2019-09-29 04:34:52 +02:00
|
|
|
key_path:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Path to the SSH private key file.'
|
2020-05-19 08:21:26 +02:00
|
|
|
fingerprint:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SHA256 fingerprint of the host public key.'
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_host:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH proxy host address.'
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_port:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH proxy port number.'
|
|
|
|
default: "22"
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_username:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH proxy username.'
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_password:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH proxy password.'
|
2019-12-30 12:50:55 +01:00
|
|
|
proxy_passphrase:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SSH proxy key passphrase.'
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_timeout:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Timeout duration for establishing SSH connection to the proxy host.'
|
2019-12-07 13:05:02 +01:00
|
|
|
default: "30s"
|
|
|
|
proxy_key:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa.'
|
2019-12-07 13:05:02 +01:00
|
|
|
proxy_key_path:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Path to the SSH proxy private key file.'
|
2020-05-19 08:21:26 +02:00
|
|
|
proxy_fingerprint:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'SHA256 fingerprint of the proxy host public key.'
|
2020-05-24 07:13:09 +02:00
|
|
|
proxy_cipher:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used.'
|
2020-05-24 04:54:31 +02:00
|
|
|
proxy_use_insecure_cipher:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Include more ciphers for the proxy by using insecure ciphers.'
|
2019-09-29 04:34:52 +02:00
|
|
|
script:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Commands to be executed.'
|
2019-09-29 04:34:52 +02:00
|
|
|
script_stop:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Stop the script after the first failure.'
|
2019-09-29 04:34:52 +02:00
|
|
|
envs:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Environment variables to be passed to the shell script.'
|
2023-04-13 05:15:42 +02:00
|
|
|
envs_format:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Flexible configuration for environment value transfer.'
|
2019-09-29 04:34:52 +02:00
|
|
|
debug:
|
2023-06-04 05:06:25 +02:00
|
|
|
description: 'Enable debug mode.'
|
2019-09-29 04:34:52 +02:00
|
|
|
runs:
|
|
|
|
using: 'docker'
|
|
|
|
image: 'Dockerfile'
|
|
|
|
|
|
|
|
branding:
|
|
|
|
icon: 'terminal'
|
|
|
|
color: 'gray-dark'
|