mirror of
https://github.com/appleboy/scp-action.git
synced 2024-11-12 12:38:08 +00:00
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:
parent
faff4f4218
commit
8535291767
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -50,3 +50,15 @@ jobs:
|
|||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
source: "tests/a.txt,tests/b.txt"
|
source: "tests/a.txt,tests/b.txt"
|
||||||
target: "test"
|
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
|
||||||
|
@ -53,6 +53,7 @@ see the [action.yml](./action.yml) file for more detail imformation.
|
|||||||
* strip_components - remove the specified number of leading path elements.
|
* strip_components - remove the specified number of leading path elements.
|
||||||
* overwrite - use `--overwrite` flag with tar
|
* overwrite - use `--overwrite` flag with tar
|
||||||
* tar_tmp_path - temporary path for tar file on the dest host
|
* tar_tmp_path - temporary path for tar file on the dest host
|
||||||
|
* use_insecure_cipher - include more ciphers with use_insecure_cipher (see [#15](https://github.com/appleboy/scp-action/issues/15))
|
||||||
|
|
||||||
SSH Proxy Setting:
|
SSH Proxy Setting:
|
||||||
|
|
||||||
@ -65,6 +66,7 @@ SSH Proxy Setting:
|
|||||||
* 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
|
* proxy_fingerprint - fingerprint SHA256 of the host public key, default is to skip verification
|
||||||
|
* proxy_use_insecure_cipher - include more ciphers with use_insecure_cipher (see [#15](https://github.com/appleboy/scp-action/issues/15))
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
@ -25,6 +25,9 @@ inputs:
|
|||||||
description: 'ssh key passphrase'
|
description: 'ssh key passphrase'
|
||||||
fingerprint:
|
fingerprint:
|
||||||
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
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:
|
target:
|
||||||
description: 'target path on the server'
|
description: 'target path on the server'
|
||||||
source:
|
source:
|
||||||
@ -63,6 +66,9 @@ inputs:
|
|||||||
description: 'path of ssh proxy private key'
|
description: 'path of ssh proxy private key'
|
||||||
proxy_fingerprint:
|
proxy_fingerprint:
|
||||||
description: 'fingerprint SHA256 of the host public key, default is to skip verification'
|
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:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
Loading…
Reference in New Issue
Block a user