Question

How do I enable to access ssh server outside from App Platform?

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.

Subscribe
Share

Submit an 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.

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

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!

It works on Render Web Service with the same code.