How do I authenticate to the console with a PUT request to avoid logging in?

I’m trying to access the console using the url (something like:<ID>/console?no_layout=true&i=<Other_ID>), but I when I use the URL while not logged in to the control panel I’m asked to login. How do I authenticate through a PUT request within the url so I don’t have to login to access the console?

More simply put, I’m trying to access the console without being required to login to the control panel, I should still be forced to login to the operating system after established connection

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This can be hard - probably behavior like this is blocked for sake of malicious attacks. You can check with Support, maybe they had experience, but AFAIK, it’s not possible.

What is reason behind using console? If that is not some Web app, why not use SSH, which is much better?

Maybe you can build something using API or CLI. If you depend on logging by ID, you can check out doctl which have support for SSH for all platforms (Windows, Linux, macOS) and also, you can SSH via Droplet ID or name instead of IP. You can build your own solution too that is working like it.