GlobalProtect-openconnect
GlobalProtect-openconnect copied to clipboard
gpclient CLI with external-browser
Hi, How does one use the CLI and configure it to use an external-browser? Chrome in my case
I tried the new 2.0.0-beta5 release with GUI and that works, besides me getting invalid auth cookies.
I would want to use CLI with Chrome+yubikey, is that possible?
I see the --user-agent is that what should be used to accomplish this? if so, how?
I'll try to add it to the CLI version.
Planned in 2.2.0
Released in 2.2.0, connect the portal with the following command.
sudo -E gpclient connect --default-browser <portal>
Closing it for now.
This should be reopened since it was rollbacked. This would be very usefull to get this back.
This should be reopened since it was rollbacked. This would be very usefull to get this back.
@qraynaud What do you mean by this? I didn't roll back it.
Does sudo -E gpclient connect --default-browser <portal> work for you?
Sorry. I thought you had. It works on my local computer but not through vscode using remote-ssh. I’m puzzled as to why since aws sso login is opening my browser properly and working as expected.
It doesn't support launching the default browser from within the SSH session. Are you using the aws cli from SSH session or the host? If the AWS cli works from the SSH session, I can refer to its implementation.
Yeah, I'm using the cli from the SSH session. This is somewhat cool!
@qraynaud The remote SSH session support has been tracked by #375, so we can discuss it further.