File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 script : |
9393 whoami
9494 ls -al
95+
96+ - name : use insecure cipher
97+ uses : ./
98+ with :
99+ host : ${{ secrets.HOST }}
100+ username : ${{ secrets.USERNAME }}
101+ password : ${{ secrets.PASSWORD }}
102+ port : ${{ secrets.PORT }}
103+ script : whoami
104+ use_insecure_cipher : true
Original file line number Diff line number Diff line change 1- FROM appleboy/drone-ssh:1.5.8 -linux-amd64
1+ FROM appleboy/drone-ssh:1.5.9 -linux-amd64
22
33ADD entrypoint.sh /entrypoint.sh
44RUN chmod +x /entrypoint.sh
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ See [action.yml](./action.yml) for more detailed information.
6262* script_stop - stop script after first failure
6363* envs - pass environment variable to shell script
6464* debug - enable debug mode
65+ * use_insecure_cipher - include more ciphers with use_insecure_cipher (see [ #56 ] ( https://github.com/appleboy/ssh-action/issues/56 ) )
6566
6667SSH Proxy Setting:
6768
@@ -74,6 +75,7 @@ SSH Proxy Setting:
7475* proxy_key - content of ssh proxy private key.
7576* proxy_key_path - path of ssh proxy private key
7677* proxy_fingerprint - fingerprint SHA256 of the proxy host public key, default is to skip verification
78+ * proxy_use_insecure_cipher - include more ciphers with use_insecure_cipher (see [ #56 ] ( https://github.com/appleboy/ssh-action/issues/56 ) )
7779
7880### Example
7981
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ inputs:
1616 sync :
1717 description : ' synchronous execution if multiple hosts'
1818 default : false
19+ use_insecure_cipher :
20+ description : ' include more ciphers with use_insecure_cipher'
21+ default : false
1922 timeout :
2023 description : ' timeout for ssh to host'
2124 default : " 30s"
@@ -48,6 +51,9 @@ inputs:
4851 description : ' path of ssh proxy private key'
4952 proxy_fingerprint :
5053 description : ' sha256 fingerprint of the proxy host public key'
54+ proxy_use_insecure_cipher :
55+ description : ' include more ciphers with use_insecure_cipher'
56+ default : false
5157 script :
5258 description : ' execute commands'
5359 script_stop :
You can’t perform that action at this time.
0 commit comments