ssh-deploy
ssh-deploy copied to clipboard
cant't deploy
[Rsync] Starting Rsync Action: /home/runner/work/primect/primect/./src/ to [email protected]:/home/ubuntu/primect ⚠️ [Rsync] error: rsync exited with code 255 ⚠️ [Rsync] stderr: ssh: connect to host ecxxxxxxx.eu-north-1.compute.amazonaws.com port 22: Connection timed out rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.3]
⚠️ [Rsync] stdout:
⚠️ [Rsync] cmd: rsync /home/runner/work/primect/primect/./src/ [email protected]:/home/ubuntu/primect --rsh "ssh -p 22 -i /home/runner/.ssh/deploy_key -o StrictHostKeyChecking=no" --recursive -av
Check whether you are able to connect to your remote host ([email protected]) via ssh using your ssh key. If that's the case, the problem might be with your instance (may be a firewall is blocking access via ssh port).
Also your source variable is wrong here. should be src/
instead of ./src
.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.