I got “ssh: connect to host x.x.x.x port 22: Operation timed out” in my app in App Platform.
My app needs to execute commands on servers outside via ssh protocol.
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 @immysec,
unfortunately, it’s not possible to SSH into a component because SSH is not enabled. I believe a similar question was asked before in our community which you can check here:
https://www.digitalocean.com/community/questions/how-to-enable-ssh-on-app-platform
Hope that helps!
Hello,
The App Platform does not come with SSH access, you can access your components via the web console as described here:
https://docs.digitalocean.com/products/app-platform/concepts/console/
The App Platform is based on Kubernetes, and you can think of your services as immutable. Meaning that if you need to make any changes, you just push your code to GitHub and then it gets auto deployed to the App Platform.
If you need to have SSH access, you could always go with a Droplet, but in this case, you will need to manage your server and deployments.
Best,
Bobby
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.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.