docs: add fingerprint flag
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
0329cffdaa
commit
326e14ddd1
2 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,7 @@ see the [action.yml](./action.yml) file for more detail imformation.
|
||||||
* 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
|
||||||
|
* 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`
|
||||||
* key - content of ssh private key. ex raw content of ~/.ssh/id_rsa
|
* key - content of ssh private key. ex raw content of ~/.ssh/id_rsa
|
||||||
|
@ -63,6 +64,7 @@ SSH Proxy Setting:
|
||||||
* 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.
|
||||||
* proxy_key_path - path of ssh proxy private key
|
* proxy_key_path - path of ssh proxy private key
|
||||||
|
* proxy_fingerprint - fingerprint SHA256 of the host public key, default is to skip verification
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@ inputs:
|
||||||
description: 'path of ssh private key'
|
description: 'path of ssh private key'
|
||||||
passphrase:
|
passphrase:
|
||||||
description: 'ssh key passphrase'
|
description: 'ssh key passphrase'
|
||||||
|
fingerprint:
|
||||||
|
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
||||||
target:
|
target:
|
||||||
description: 'target path on the server'
|
description: 'target path on the server'
|
||||||
source:
|
source:
|
||||||
|
@ -59,6 +61,8 @@ inputs:
|
||||||
description: 'content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa'
|
description: 'content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa'
|
||||||
proxy_key_path:
|
proxy_key_path:
|
||||||
description: 'path of ssh proxy private key'
|
description: 'path of ssh proxy private key'
|
||||||
|
proxy_fingerprint:
|
||||||
|
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
|
Loading…
Reference in a new issue