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!
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
Heya,
The error you’ve provided /03/10 09:38:58 error copy file to dest: ***, error message: dial tcp ***:22: connect: connection timed out
means your CI server can’t connect to your desired destionation, probably your Droplet because it doesn’t have access on port 22.
Make sure yo allow connections between the two to be able to deploy your desired application.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.