chore: support use_insecure_cipher (#57)
This commit is contained in:
parent
6b00175bad
commit
c9eebc1cde
|
@ -92,3 +92,13 @@ jobs:
|
||||||
script: |
|
script: |
|
||||||
whoami
|
whoami
|
||||||
ls -al
|
ls -al
|
||||||
|
|
||||||
|
- name: use insecure cipher
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script: whoami
|
||||||
|
use_insecure_cipher: true
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM appleboy/drone-ssh:1.5.8-linux-amd64
|
FROM appleboy/drone-ssh:1.5.9-linux-amd64
|
||||||
|
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
|
@ -62,6 +62,7 @@ See [action.yml](./action.yml) for more detailed information.
|
||||||
* script_stop - stop script after first failure
|
* script_stop - stop script after first failure
|
||||||
* envs - pass environment variable to shell script
|
* envs - pass environment variable to shell script
|
||||||
* debug - enable debug mode
|
* debug - enable debug mode
|
||||||
|
* use_insecure_cipher - include more ciphers with use_insecure_cipher (see [#56](https://github.com/appleboy/ssh-action/issues/56))
|
||||||
|
|
||||||
SSH Proxy Setting:
|
SSH Proxy Setting:
|
||||||
|
|
||||||
|
@ -74,6 +75,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 proxy host public key, default is to skip verification
|
* proxy_fingerprint - fingerprint SHA256 of the proxy host public key, default is to skip verification
|
||||||
|
* proxy_use_insecure_cipher - include more ciphers with use_insecure_cipher (see [#56](https://github.com/appleboy/ssh-action/issues/56))
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@ inputs:
|
||||||
sync:
|
sync:
|
||||||
description: 'synchronous execution if multiple hosts'
|
description: 'synchronous execution if multiple hosts'
|
||||||
default: false
|
default: false
|
||||||
|
use_insecure_cipher:
|
||||||
|
description: 'include more ciphers with use_insecure_cipher'
|
||||||
|
default: false
|
||||||
timeout:
|
timeout:
|
||||||
description: 'timeout for ssh to host'
|
description: 'timeout for ssh to host'
|
||||||
default: "30s"
|
default: "30s"
|
||||||
|
@ -48,6 +51,9 @@ inputs:
|
||||||
description: 'path of ssh proxy private key'
|
description: 'path of ssh proxy private key'
|
||||||
proxy_fingerprint:
|
proxy_fingerprint:
|
||||||
description: 'sha256 fingerprint of the proxy host public key'
|
description: 'sha256 fingerprint of the proxy host public key'
|
||||||
|
proxy_use_insecure_cipher:
|
||||||
|
description: 'include more ciphers with use_insecure_cipher'
|
||||||
|
default: false
|
||||||
script:
|
script:
|
||||||
description: 'execute commands'
|
description: 'execute commands'
|
||||||
script_stop:
|
script_stop:
|
||||||
|
|
Loading…
Reference in New Issue