How to authenticate accounts such as google without a browser?

I wish to use apps such as google-drive-ocamlfuse, but it requires google authentication through a browser. Since my linux VM does not have a browser, that is not an option.

Does anyone know how to get around this? …possibly a command-line authentication process? I’m guessing that would be up to the authentication server implementation, but it seems like a limitation on [headless] Linux VMs.

Thanks, Doug

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.

Thanks so much KDSys! I am comfortable with text based navigation so that sounds like it might work and will give it a try. Regareds, Doug

Hi @dnintzel,

This does seem like a bummer. I’ve actually experienced such limitations myself and had to use lynx in order to bypass them.

It’s not ideal however it does provide you with a browser like interface from your terminal. To install it on Ubuntu you can use the following line

sudo apt install lynx

Easy as that.

As for how to use it, you’ll have to get used to it, you have your page generated and have to navigate it with your arrow keys. Here is a good article which will provide you with a video and some quick tips - Article

Regards, KDSys