mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-13 21:33:56 +00:00
docs: add fingerprint flag
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
0329cffdaa
commit
326e14ddd1
@ -42,6 +42,7 @@ see the [action.yml](./action.yml) file for more detail imformation.
|
||||
* username - scp username
|
||||
* password - scp password
|
||||
* 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`
|
||||
* command_timeout - timeout for scp command, default is `10m`
|
||||
* 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_key - content 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
|
||||
|
||||
|
@ -23,6 +23,8 @@ inputs:
|
||||
description: 'path of ssh private key'
|
||||
passphrase:
|
||||
description: 'ssh key passphrase'
|
||||
fingerprint:
|
||||
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
||||
target:
|
||||
description: 'target path on the server'
|
||||
source:
|
||||
@ -59,6 +61,8 @@ inputs:
|
||||
description: 'content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa'
|
||||
proxy_key_path:
|
||||
description: 'path of ssh proxy private key'
|
||||
proxy_fingerprint:
|
||||
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
|
Loading…
Reference in New Issue
Block a user