ezgh login [flags]Log in with your EZGH Cloud account. By default this opens your browser (authorization code with PKCE, through a redirect to a port on 127.0.0.1); --device prints a URL and a code to enter on any other device instead, for SSH sessions and machines without a browser.
The login belongs to the profile (--profile, EZGH_PROFILE, or the default profile), which is created if it doesn’t exist. Its tokens go in the OS keychain, or a file only you can read where there’s no keychain. The access token is refreshed automatically.
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--device |
boolean | log in with a code on another device (no browser needed here) | |
--no-browser |
boolean | print the login URL instead of opening a browser |
This command also takes the global flags.