|
1 |
| -name: 'SSH Remote Commands' |
2 |
| -description: 'Executing remote ssh commands' |
3 |
| -author: 'Bo-Yi Wu' |
| 1 | +name: "SSH Remote Commands" |
| 2 | +description: "Executing remote ssh commands" |
| 3 | +author: "Bo-Yi Wu" |
4 | 4 | inputs:
|
5 | 5 | host:
|
6 |
| - description: 'SSH host address.' |
| 6 | + description: "SSH host address." |
7 | 7 | port:
|
8 |
| - description: 'SSH port number.' |
| 8 | + description: "SSH port number." |
9 | 9 | default: "22"
|
10 | 10 | passphrase:
|
11 |
| - description: 'Passphrase for the SSH key.' |
| 11 | + description: "Passphrase for the SSH key." |
12 | 12 | username:
|
13 |
| - description: 'SSH username.' |
| 13 | + description: "SSH username." |
14 | 14 | password:
|
15 |
| - description: 'SSH password.' |
| 15 | + description: "SSH password." |
16 | 16 | sync:
|
17 |
| - description: 'Enable synchronous execution if multiple hosts are involved.' |
| 17 | + description: "Enable synchronous execution if multiple hosts are involved." |
18 | 18 | use_insecure_cipher:
|
19 |
| - description: 'Include more ciphers by using insecure ciphers.' |
| 19 | + description: "Include more ciphers by using insecure ciphers." |
20 | 20 | cipher:
|
21 |
| - description: 'Allowed cipher algorithms. If unspecified, a sensible default is used.' |
| 21 | + description: "Allowed cipher algorithms. If unspecified, a sensible default is used." |
22 | 22 | timeout:
|
23 |
| - description: 'Timeout duration for establishing SSH connection to the host.' |
| 23 | + description: "Timeout duration for establishing SSH connection to the host." |
24 | 24 | default: "30s"
|
25 | 25 | command_timeout:
|
26 |
| - description: 'Timeout duration for SSH commands execution.' |
| 26 | + description: "Timeout duration for SSH commands execution." |
27 | 27 | default: "10m"
|
28 | 28 | key:
|
29 |
| - description: 'Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa.' |
| 29 | + description: "Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa." |
30 | 30 | key_path:
|
31 |
| - description: 'Path to the SSH private key file.' |
| 31 | + description: "Path to the SSH private key file." |
32 | 32 | fingerprint:
|
33 |
| - description: 'SHA256 fingerprint of the host public key.' |
| 33 | + description: "SHA256 fingerprint of the host public key." |
34 | 34 | proxy_host:
|
35 |
| - description: 'SSH proxy host address.' |
| 35 | + description: "SSH proxy host address." |
36 | 36 | proxy_port:
|
37 |
| - description: 'SSH proxy port number.' |
| 37 | + description: "SSH proxy port number." |
38 | 38 | default: "22"
|
39 | 39 | proxy_username:
|
40 |
| - description: 'SSH proxy username.' |
| 40 | + description: "SSH proxy username." |
41 | 41 | proxy_password:
|
42 |
| - description: 'SSH proxy password.' |
| 42 | + description: "SSH proxy password." |
43 | 43 | proxy_passphrase:
|
44 |
| - description: 'SSH proxy key passphrase.' |
| 44 | + description: "SSH proxy key passphrase." |
45 | 45 | proxy_timeout:
|
46 |
| - description: 'Timeout duration for establishing SSH connection to the proxy host.' |
| 46 | + description: "Timeout duration for establishing SSH connection to the proxy host." |
47 | 47 | default: "30s"
|
48 | 48 | proxy_key:
|
49 |
| - description: 'Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa.' |
| 49 | + description: "Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa." |
50 | 50 | proxy_key_path:
|
51 |
| - description: 'Path to the SSH proxy private key file.' |
| 51 | + description: "Path to the SSH proxy private key file." |
52 | 52 | proxy_fingerprint:
|
53 |
| - description: 'SHA256 fingerprint of the proxy host public key.' |
| 53 | + description: "SHA256 fingerprint of the proxy host public key." |
54 | 54 | proxy_cipher:
|
55 |
| - description: 'Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used.' |
| 55 | + description: "Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used." |
56 | 56 | proxy_use_insecure_cipher:
|
57 |
| - description: 'Include more ciphers for the proxy by using insecure ciphers.' |
| 57 | + description: "Include more ciphers for the proxy by using insecure ciphers." |
58 | 58 | script:
|
59 |
| - description: 'Commands to be executed.' |
| 59 | + description: "Commands to be executed." |
60 | 60 | script_stop:
|
61 |
| - description: 'Stop the script after the first failure.' |
| 61 | + description: "Stop the script after the first failure." |
62 | 62 | envs:
|
63 |
| - description: 'Environment variables to be passed to the shell script.' |
| 63 | + description: "Environment variables to be passed to the shell script." |
64 | 64 | envs_format:
|
65 |
| - description: 'Flexible configuration for environment value transfer.' |
| 65 | + description: "Flexible configuration for environment value transfer." |
66 | 66 | debug:
|
67 |
| - description: 'Enable debug mode.' |
| 67 | + description: "Enable debug mode." |
68 | 68 | allenvs:
|
69 |
| - description: 'pass all environment variable to shell script.' |
| 69 | + description: "pass all environment variable to shell script." |
| 70 | + request_pty: |
| 71 | + description: "Request a pseudo-terminal from the server." |
70 | 72 | runs:
|
71 |
| - using: 'docker' |
72 |
| - image: 'Dockerfile' |
| 73 | + using: "docker" |
| 74 | + image: "Dockerfile" |
73 | 75 |
|
74 | 76 | branding:
|
75 |
| - icon: 'terminal' |
76 |
| - color: 'gray-dark' |
| 77 | + icon: "terminal" |
| 78 | + color: "gray-dark" |
0 commit comments