@@ -8,6 +8,9 @@ English | [繁體中文](./README.zh-tw.md) | [简体中文](./README.zh-cn.md)
88  -  [ Table of Contents] ( #table-of-contents ) 
99  -  [ 📖 Introduction] ( #-introduction ) 
1010  -  [ 🧩 Core Concepts \&  Input Parameters] ( #-core-concepts--input-parameters ) 
11+     -  [ 🔌 Connection Settings] ( #-connection-settings ) 
12+     -  [ 🛠️ SSH Command Settings] ( #️-ssh-command-settings ) 
13+     -  [ 🌐 Proxy Settings] ( #-proxy-settings ) 
1114  -  [ ⚡ Quick Start] ( #-quick-start ) 
1215  -  [ 🔑 SSH Key Setup \&  OpenSSH Compatibility] ( #-ssh-key-setup--openssh-compatibility ) 
1316    -  [ Setting Up SSH Keys] ( #setting-up-ssh-keys ) 
@@ -52,43 +55,65 @@ This action provides flexible SSH command execution with a rich set of configura
5255
5356For full details, see [ action.yml] ( ./action.yml ) .
5457
55- |  Parameter                 |  Description                                                                       |  Default | 
56- |  ------------------------- |  --------------------------------------------------------------------------------- |  ------- | 
57- |  host                      |  SSH host address                                                                  |          | 
58- |  port                      |  SSH port number                                                                   |  22      | 
59- |  passphrase                |  Passphrase for the SSH private key                                                |          | 
60- |  username                  |  SSH username                                                                      |          | 
61- |  password                  |  SSH password                                                                      |          | 
62- |  protocol                  |  SSH protocol version (` tcp ` , ` tcp4 ` , ` tcp6 ` )                                      |  tcp     | 
63- |  sync                      |  Run synchronously if multiple hosts are specified                                 |  false   | 
64- |  use_insecure_cipher       |  Allow additional (less secure) ciphers                                            |  false   | 
65- |  cipher                    |  Allowed cipher algorithms. Uses sensible defaults if unspecified                  |          | 
66- |  timeout                   |  Timeout for SSH connection to host                                                |  30s     | 
67- |  command_timeout           |  Timeout for SSH command execution                                                 |  10m     | 
68- |  key                       |  Content of SSH private key (e.g., raw content of ` ~/.ssh/id_rsa ` )                 |          | 
69- |  key_path                  |  Path to SSH private key                                                           |          | 
70- |  fingerprint               |  SHA256 fingerprint of the host public key                                         |          | 
71- |  proxy_host                |  SSH proxy host                                                                    |          | 
72- |  proxy_port                |  SSH proxy port                                                                    |  22      | 
73- |  proxy_protocol            |  SSH proxy protocol version (` tcp ` , ` tcp4 ` , ` tcp6 ` )                                |  tcp     | 
74- |  proxy_username            |  SSH proxy username                                                                |          | 
75- |  proxy_password            |  SSH proxy password                                                                |          | 
76- |  proxy_passphrase          |  SSH proxy key passphrase                                                          |          | 
77- |  proxy_timeout             |  Timeout for SSH connection to proxy host                                          |  30s     | 
78- |  proxy_key                 |  Content of SSH proxy private key                                                  |          | 
79- |  proxy_key_path            |  Path to SSH proxy private key                                                     |          | 
80- |  proxy_fingerprint         |  SHA256 fingerprint of the proxy host public key                                   |          | 
81- |  proxy_cipher              |  Allowed cipher algorithms for the proxy                                           |          | 
82- |  proxy_use_insecure_cipher |  Allow additional (less secure) ciphers for the proxy                              |  false   | 
83- |  script                    |  Commands to execute remotely                                                      |          | 
84- |  script_path               |  Path to a file containing commands to execute                                     |          | 
85- |  envs                      |  Environment variables to pass to the shell script                                 |          | 
86- |  envs_format               |  Flexible configuration for environment variable transfer                          |          | 
87- |  debug                     |  Enable debug mode                                                                 |  false   | 
88- |  allenvs                   |  Pass all environment variables with ` GITHUB_ `  and ` INPUT_ `  prefixes to the script |  false   | 
89- |  request_pty               |  Request a pseudo-terminal from the server                                         |  false   | 
90- |  curl_insecure             |  Allow curl to connect to SSL sites without certificates                           |  false   | 
91- |  version                   |  drone-ssh binary version. If not specified, the latest version will be used.      |          | 
58+ ### 🔌 Connection Settings  
59+ 
60+ These parameters control how the action connects to your remote host.
61+ 
62+ |  Parameter           |  Description                                                       |  Default | 
63+ |  ------------------- |  ----------------------------------------------------------------- |  ------- | 
64+ |  host                |  SSH host address                                                  |          | 
65+ |  port                |  SSH port number                                                   |  22      | 
66+ |  username            |  SSH username                                                      |          | 
67+ |  password            |  SSH password                                                      |          | 
68+ |  protocol            |  SSH protocol version (` tcp ` , ` tcp4 ` , ` tcp6 ` )                      |  tcp     | 
69+ |  sync                |  Run synchronously if multiple hosts are specified                 |  false   | 
70+ |  timeout             |  Timeout for SSH connection to host                                |  30s     | 
71+ |  key                 |  Content of SSH private key (e.g., raw content of ` ~/.ssh/id_rsa ` ) |          | 
72+ |  key_path            |  Path to SSH private key                                           |          | 
73+ |  passphrase          |  Passphrase for the SSH private key                                |          | 
74+ |  fingerprint         |  SHA256 fingerprint of the host public key                         |          | 
75+ |  use_insecure_cipher |  Allow additional (less secure) ciphers                            |  false   | 
76+ |  cipher              |  Allowed cipher algorithms. Uses sensible defaults if unspecified  |          | 
77+ 
78+ --- 
79+ 
80+ ### 🛠️ SSH Command Settings  
81+ 
82+ These parameters control the commands executed on the remote host and related behaviors.
83+ 
84+ |  Parameter       |  Description                                                                       |  Default | 
85+ |  --------------- |  --------------------------------------------------------------------------------- |  ------- | 
86+ |  script          |  Commands to execute remotely                                                      |          | 
87+ |  script_path     |  Path to a file containing commands to execute                                     |          | 
88+ |  envs            |  Environment variables to pass to the shell script                                 |          | 
89+ |  envs_format     |  Flexible configuration for environment variable transfer                          |          | 
90+ |  allenvs         |  Pass all environment variables with ` GITHUB_ `  and ` INPUT_ `  prefixes to the script |  false   | 
91+ |  command_timeout |  Timeout for SSH command execution                                                 |  10m     | 
92+ |  debug           |  Enable debug mode                                                                 |  false   | 
93+ |  request_pty     |  Request a pseudo-terminal from the server                                         |  false   | 
94+ |  curl_insecure   |  Allow curl to connect to SSL sites without certificates                           |  false   | 
95+ |  version         |  drone-ssh binary version. If not specified, the latest version will be used.      |          | 
96+ 
97+ --- 
98+ 
99+ ### 🌐 Proxy Settings  
100+ 
101+ These parameters control the use of a proxy (jump host) for connecting to your target host.
102+ 
103+ |  Parameter                 |  Description                                     |  Default | 
104+ |  ------------------------- |  ----------------------------------------------- |  ------- | 
105+ |  proxy_host                |  SSH proxy host                                  |          | 
106+ |  proxy_port                |  SSH proxy port                                  |  22      | 
107+ |  proxy_username            |  SSH proxy username                              |          | 
108+ |  proxy_password            |  SSH proxy password                              |          | 
109+ |  proxy_passphrase          |  SSH proxy key passphrase                        |          | 
110+ |  proxy_protocol            |  SSH proxy protocol version                      |  tcp     | 
111+ |  proxy_timeout             |  Timeout for SSH connection to proxy host        |  30s     | 
112+ |  proxy_key                 |  Content of SSH proxy private key                |          | 
113+ |  proxy_key_path            |  Path to SSH proxy private key                   |          | 
114+ |  proxy_fingerprint         |  SHA256 fingerprint of the proxy host public key |          | 
115+ |  proxy_cipher              |  Allowed cipher algorithms for the proxy         |          | 
116+ |  proxy_use_insecure_cipher |  Allow insecure ciphers for the proxy            |  false   | 
92117
93118>  ** Note:**  To mimic the removed ` script_stop `  option, add ` set -e `  at the top of your shell script.
94119
0 commit comments