5

We're using digital ocean's cli tool doctl, and would like to ssh into our instances using the same cli tool. We're able to list apps using:

doctl apps list

but cant ssh into apps. Is it even supported by the CLI as of now?

Talha Meh
  • 487
  • 7
  • 20
  • Is [this](https://docs.digitalocean.com/reference/doctl/reference/compute/ssh/) what you're looking for? `doctl compute ssh ` – moonkotte Aug 28 '21 at 18:18
  • @moonkotte kinda yeah, but when doing `doctl droplets list` i get nothing. so cant run the command above. – Talha Meh Aug 29 '21 at 17:49
  • You should run instead `doctl compute droplet list` - [reference](https://docs.digitalocean.com/reference/doctl/reference/compute/droplet/list/) - since droplets (VMs) are a part of infrastructure or `compute` group – moonkotte Aug 29 '21 at 18:09
  • done that as well, no success. The output doesnt list any of the droplets. – Talha Meh Aug 29 '21 at 18:44
  • 2
    A _Droplet_ is like a container. An _App_ is more like a managed container. So `doctl` will not work there. TBH I have no idea and am searching for the answer myself. – kaiser Dec 06 '22 at 12:28
  • I imagine it is unfortunately by design? There's probably additional proprietary infrastructure they include on your container to let them provide the extra managed services you get out of the App Platform. Tradeoffs... – qix Aug 03 '23 at 08:38
  • https://docs.digitalocean.com/reference/doctl/reference/apps/ are the limited things we can do with Apps – qix Aug 03 '23 at 09:00

0 Answers0