You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@ The base-image [drinternet/rsync](https://github.com/JoshPiper/rsync-docker/) of
14
14
15
15
-`rsh` - Remote shell commands
16
16
17
+
-`legacy_allow_rsa_hostkeys` - Enables support for legacy RSA host keys on OpenSSH 8.8+. ("true" / "false")
18
+
17
19
-`path` - The source path. Defaults to GITHUB_WORKSPACE and is relative to it
18
20
19
21
-`remote_path`* - The deployment target path
@@ -125,6 +127,35 @@ jobs:
125
127
remote_key: ${{ secrets.DEPLOY_KEY }}
126
128
remote_key_pass: ${{ secrets.DEPLOY_KEY_PASS }}
127
129
```
130
+
131
+
---
132
+
133
+
#### Legacy RSA Hostkeys support for OpenSSH Servers >= 8.8+
134
+
135
+
If your remote OpenSSH Server still uses RSA hostkeys, then you have to
136
+
manually enable legacy support for this by using ``legacy_allow_rsa_hostkeys: "true"``.
137
+
138
+
```
139
+
jobs:
140
+
deploy:
141
+
runs-on: ubuntu-latest
142
+
steps:
143
+
- uses: actions/checkout@v3
144
+
- name: rsync deployments
145
+
uses: burnett01/rsync-deployments@6.0.0
146
+
with:
147
+
switches: -avzr --delete
148
+
legacy_allow_rsa_hostkeys: "true"
149
+
path: src/
150
+
remote_path: ${{ secrets.DEPLOY_PATH }}
151
+
remote_host: ${{ secrets.DEPLOY_HOST }}
152
+
remote_port: ${{ secrets.DEPLOY_PORT }}
153
+
remote_user: ${{ secrets.DEPLOY_USER }}
154
+
remote_key: ${{ secrets.DEPLOY_KEY }}
155
+
```
156
+
157
+
See [#49](https://github.com/Burnett01/rsync-deployments/issues/49) and [#24](https://github.com/Burnett01/rsync-deployments/issues/24) for more information.
0 commit comments