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
Run shimataro/ssh-key-action@v[2](https://github.com/gamerplex/kinland2/actions/runs/4005511431/jobs/6876611514#step:3:2)
with:
key: ***
name: id_rsa
known_hosts: just-a-placeholder-so-we-dont-get-errors
if_key_exists: replace
SSH key has been stored to /home/runner/.ssh successfully.
But when running rsync command, it fails
Run rsync -avzr ./build/WebGL/* root@***:/home/steve777/apps/***-Web/
rsync -avzr ./build/WebGL/* root@***:/home/steve777/apps/***-Web/
shell: /usr/bin/bash -e {0}
root@***: Permission denied (publickey).
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code [2]
Error: Process completed with exit code 2[5]
I am also using appleboy/ssh-action with same host and private_key but that works fine.
Install SSH Key working
But when running rsync command, it fails
I am also using
appleboy/ssh-action
with same host and private_key but that works fine.Workflow
The text was updated successfully, but these errors were encountered: