diff --git a/README.md b/README.md index 7cebfae..1a1560c 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,17 @@ see the [action.yml](./action.yml) file for more detail imformation. * overwrite - use `--overwrite` flag with tar * tar_tmp_path - temporary path for tar file on the dest host +SSH Proxy Setting: + +* proxy_host - proxy host +* proxy_port - proxy port, default is `22` +* proxy_username - proxy username +* proxy_password - proxy password +* proxy_passphrase - the passphrase is usually to encrypt the private key +* proxy_timeout - timeout for ssh to proxy host, default is `30s` +* proxy_key - content of ssh proxy private key. +* proxy_key_path - path of ssh proxy private key + ### Example Copy file via ssh password diff --git a/action.yml b/action.yml index 1c5afeb..d55300b 100644 --- a/action.yml +++ b/action.yml @@ -37,6 +37,24 @@ inputs: default: false tar_tmp_path: description: 'temporary path for tar file on the dest host' + proxy_host: + description: 'ssh proxy remote host' + proxy_port: + description: 'ssh proxy remote port' + default: 22 + proxy_username: + description: 'ssh proxy username' + proxy_password: + description: 'ssh proxy password' + proxy_passphrase: + description: 'ssh proxy key passphrase' + proxy_timeout: + description: 'timeout for ssh to proxy host' + default: "30s" + proxy_key: + description: 'content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa' + proxy_key_path: + description: 'path of ssh proxy private key' runs: using: 'docker' image: 'Dockerfile'