@@ -3,85 +3,85 @@ description: "Executing remote ssh commands"
3
3
author : " Bo-Yi Wu"
4
4
inputs :
5
5
host :
6
- description : " SSH host address."
6
+ description : " SSH host address or IP to connect to ."
7
7
port :
8
- description : " SSH port number."
8
+ description : " SSH port number for the connection ."
9
9
default : " 22"
10
10
passphrase :
11
- description : " Passphrase for the SSH key."
11
+ description : " Passphrase to decrypt the SSH private key if protected ."
12
12
username :
13
- description : " SSH username."
13
+ description : " SSH username for authentication on the remote server ."
14
14
password :
15
- description : " SSH password."
15
+ description : " SSH password for authentication (use secrets for sensitive data) ."
16
16
protocol :
17
- description : ' The IP protocol to use. Valid values are "tcp". "tcp4" or "tcp6". Default to tcp .'
17
+ description : ' IP protocol version to use. Options: "tcp" (default), "tcp4" (IPv4 only), or "tcp6" (IPv6 only) .'
18
18
default : " tcp"
19
19
sync :
20
- description : " Enable synchronous execution if multiple hosts are involved ."
20
+ description : " When true, executes commands synchronously across multiple hosts (one after another) ."
21
21
use_insecure_cipher :
22
- description : " Include more ciphers by using insecure ciphers ."
22
+ description : " Enable additional legacy ciphers that might be less secure but more compatible with older systems ."
23
23
cipher :
24
- description : " Allowed cipher algorithms. If unspecified, a sensible default is used ."
24
+ description : " Specify custom cipher algorithms for encryption. Leave empty to use secure defaults ."
25
25
timeout :
26
- description : " Timeout duration for establishing SSH connection to the host ."
26
+ description : " Maximum time to wait when establishing the SSH connection, e.g., '30s', '1m' ."
27
27
default : " 30s"
28
28
command_timeout :
29
- description : " Timeout duration for SSH commands execution ."
29
+ description : " Maximum execution time for the remote commands before terminating, e.g., '10m', '1h' ."
30
30
default : " 10m"
31
31
key :
32
- description : " Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa ."
32
+ description : " Raw content of the SSH private key for authentication (use secrets for sensitive data) ."
33
33
key_path :
34
- description : " Path to the SSH private key file."
34
+ description : " Path to the SSH private key file on the runner ."
35
35
fingerprint :
36
- description : " SHA256 fingerprint of the host public key."
36
+ description : " SHA256 fingerprint of the host public key for verification to prevent MITM attacks ."
37
37
proxy_host :
38
- description : " SSH proxy host address ."
38
+ description : " Proxy server hostname or IP if connecting through an SSH jump host."
39
39
proxy_port :
40
- description : " SSH proxy port number."
40
+ description : " SSH port number for the proxy connection ."
41
41
default : " 22"
42
42
proxy_username :
43
- description : " SSH proxy username ."
43
+ description : " Username for authentication on the proxy server ."
44
44
proxy_password :
45
- description : " SSH proxy password ."
45
+ description : " Password for authentication on the proxy server (use secrets for sensitive data) ."
46
46
proxy_protocol :
47
- description : ' The IP protocol to use. Valid values are "tcp". "tcp4" or "tcp6". Default to tcp .'
47
+ description : ' IP protocol version for proxy. Options: "tcp" (default), "tcp4" (IPv4 only), or "tcp6" (IPv6 only) .'
48
48
default : " tcp"
49
49
proxy_passphrase :
50
- description : " SSH proxy key passphrase ."
50
+ description : " Passphrase to decrypt the proxy SSH private key if protected ."
51
51
proxy_timeout :
52
- description : " Timeout duration for establishing SSH connection to the proxy host ."
52
+ description : " Maximum time to wait when establishing the proxy SSH connection, e.g., '30s', '1m' ."
53
53
default : " 30s"
54
54
proxy_key :
55
- description : " Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa ."
55
+ description : " Raw content of the SSH proxy private key for authentication (use secrets for sensitive data) ."
56
56
proxy_key_path :
57
- description : " Path to the SSH proxy private key file."
57
+ description : " Path to the SSH proxy private key file on the runner ."
58
58
proxy_fingerprint :
59
- description : " SHA256 fingerprint of the proxy host public key."
59
+ description : " SHA256 fingerprint of the proxy host public key for verification ."
60
60
proxy_cipher :
61
- description : " Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used ."
61
+ description : " Specify custom cipher algorithms for proxy connection encryption ."
62
62
proxy_use_insecure_cipher :
63
- description : " Include more ciphers for the proxy by using insecure ciphers ."
63
+ description : " Enable additional legacy ciphers for proxy connections (less secure but more compatible) ."
64
64
script :
65
- description : " Commands to be executed ."
65
+ description : " Commands to execute on the remote server (inline script string) ."
66
66
script_path :
67
- description : " Path to the file containing commands to be executed ."
67
+ description : " Path to a local file containing commands to execute on the remote server ."
68
68
envs :
69
- description : " Environment variables to be passed to the shell script."
69
+ description : " Environment variables to expose to the remote script, format: key=value,key2=value2 ."
70
70
envs_format :
71
- description : " Flexible configuration for environment value transfer."
71
+ description : " Format specification for environment variable transfer (for advanced usage) ."
72
72
debug :
73
- description : " Enable debug mode ."
73
+ description : " Set to true to enable verbose logging for troubleshooting connection issues ."
74
74
allenvs :
75
- description : " pass all environment variable to shell script."
75
+ description : " When true, passes all GitHub Actions environment variables to the remote script."
76
76
request_pty :
77
- description : " Request a pseudo-terminal from the server."
77
+ description : " Request a pseudo-terminal from the server (required for interactive commands or sudo) ."
78
78
capture_stdout :
79
- description : " Capture the stdout of the commands."
79
+ description : " When true, captures and returns standard output from the commands as action output ."
80
80
default : " false"
81
81
82
82
outputs :
83
83
stdout :
84
- description : ' Standard output of the executed commands. '
84
+ description : " Standard output of the executed commands when capture_stdout is enabled. "
85
85
value : ${{ steps.entrypoint.outputs.stdout }}
86
86
87
87
runs :
0 commit comments