Skip to content

Commit 845b578

Browse files
authored
fix: Add info for Permission denied issue.
1 parent 725ce37 commit 845b578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ These issues are not related to the action itself.
146146
- Check manually your ssh connection from your client before opening a bug report.
147147
- Check `rsync` params for your use-case. Default params are not necessarily going to be enough for everyone, it highly depends on your setup.
148148
- Check manually your rsync command from your client before opening a bug report.
149+
- `Deployment Failed, Permission denied (publickey,password)`: This issue occures in some cases, it is related to OS and ssh. This action can only provide a workaround:
150+
- Use `SCRIPT_BEFORE` param, eg `SCRIPT_BEFORE: ls`. This will force `known_hosts` update, adding your host via `ssh-keyscan`.
151+
- Or manually add public key to authorized_keys and add a new line to a private key.
149152

150153
I've added e2e test for this action.
151154
Real example is executed on every PR merge to `main`.

0 commit comments

Comments
 (0)