scp file to server.
2025/03/10 09:38:58 error copy file to dest: ***, error message: dial tcp ***:22: connect: connection timed out
drone-scp error: error copy file to dest: ***, error message: dial tcp ***:22: connect: connection timed out
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey @nashurgessa,
That error usually means your CI server can’t reach your Droplet over SSH (port 22). A few quick things to check:
sudo systemctl status ssh
ufw
, allow SSH access.Let me know which CI you’re using and I’ll help you tweak the config.
- Bobby