Question

How to authenticate accounts such as google without a browser?

Posted December 9, 2019 297 views
Security

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

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.

×
2 answers

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

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

Submit an Answer