chore: add use insecure cipher flag

fix server offered: [diffie-hellman-group-exchange-sha256] error

See https://github.com/appleboy/scp-action/issues/15
This commit is contained in:
Bo-Yi Wu
2020-05-24 14:24:45 +08:00
parent faff4f4218
commit 8535291767
3 changed files with 20 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ inputs:
description: 'ssh key passphrase'
fingerprint:
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
use_insecure_cipher:
description: 'include more ciphers with use_insecure_cipher'
default: false
target:
description: 'target path on the server'
source:
@@ -63,6 +66,9 @@ inputs:
description: 'path of ssh proxy private key'
proxy_fingerprint:
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
proxy_use_insecure_cipher:
description: 'include more ciphers with use_insecure_cipher'
default: false
runs:
using: 'docker'
image: 'Dockerfile'