docs(readme): enhance IP protocol configuration options

- Add protocol option description for IP protocol usage in the main configuration
- Add proxy_protocol option description for IP protocol usage in the SSH Proxy Setting

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2024-10-28 22:38:25 +08:00
parent 172d4632fe
commit ad9a378b7f
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ See the [action.yml](./action.yml) file for more detail information.
* username - scp username * username - scp username
* password - scp password * password - scp password
* passphrase - the passphrase is usually to encrypt the private key * passphrase - the passphrase is usually to encrypt the private key
* protocol - The IP protocol to use. Valid values are `tcp`. `tcp4` or `tcp6`. Default to `tcp`.
* fingerprint - fingerprint SHA256 of the host public key, default is to skip verification * fingerprint - fingerprint SHA256 of the host public key, default is to skip verification
* timeout - timeout for ssh to remote host, default is `30s` * timeout - timeout for ssh to remote host, default is `30s`
* command_timeout - timeout for scp command, default is `10m` * command_timeout - timeout for scp command, default is `10m`
@ -61,6 +62,7 @@ SSH Proxy Setting:
* proxy_port - proxy port, default is `22` * proxy_port - proxy port, default is `22`
* proxy_username - proxy username * proxy_username - proxy username
* proxy_password - proxy password * proxy_password - proxy password
* proxy_protocol - The IP protocol to use. Valid values are `tcp`. `tcp4` or `tcp6`. Default to `tcp`.
* proxy_passphrase - the passphrase is usually to encrypt the private key * proxy_passphrase - the passphrase is usually to encrypt the private key
* proxy_timeout - timeout for ssh to proxy host, default is `30s` * proxy_timeout - timeout for ssh to proxy host, default is `30s`
* proxy_key - content of ssh proxy private key. * proxy_key - content of ssh proxy private key.