From 326e14ddd14b3d4eea36b016eb9e62dc1db6a468 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 22 May 2020 09:44:56 +0800 Subject: [PATCH] docs: add fingerprint flag Signed-off-by: Bo-Yi Wu --- README.md | 2 ++ action.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index a2b00b3..eef2e93 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/action.yml b/action.yml index 253cf46..cc133d0 100644 --- a/action.yml +++ b/action.yml @@ -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'