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

@@ -50,3 +50,15 @@ jobs:
port: ${{ secrets.PORT }}
source: "tests/a.txt,tests/b.txt"
target: "test"
- name: use insecure cipher
uses: ./
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH2 }}
passphrase: ${{ secrets.PASSPHRASE }}
port: ${{ secrets.PORT }}
source: "tests/a.txt,tests/b.txt"
target: "test"
use_insecure_cipher: true