You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli/opkssh_login.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,23 +28,24 @@ opkssh login [alias] [flags]
28
28
### Options
29
29
30
30
```
31
-
--auto-refresh Automatically refresh PK token after login
32
-
--config-path string Path to the client config file. Default: ~/.opk/config.yml on linux and %APPDATA%\.opk\config.yml on windows
33
-
--configure Apply changes to ssh config and create ~/.ssh/opkssh directory
34
-
--create-config Creates a client config file if it does not exist
35
-
--disable-browser-open Set this flag to disable opening the browser. Useful for choosing the browser you want to use
36
-
-h, --help help for login
37
-
-t, --key-type Key Type Type of key to generate (default ecdsa)
38
-
--log-dir string Directory to write output logs
39
-
--print-id-token Set this flag to print out the contents of the id_token. Useful for inspecting claims
40
-
-p, --print-key Print private key and SSH cert instead of writing them to the filesystem
41
-
-i, --private-key-file string Path where private keys is written
42
-
--provider string OpenID Provider specification in the format: <issuer>,<client_id> or <issuer>,<client_id>,<client_secret> or <issuer>,<client_id>,<client_secret>,<scopes>
43
-
--send-access-token Set this flag to send the Access Token as well as the PK Token in the SSH cert. The Access Token is used to call the userinfo endpoint to get claims not included in the ID Token
31
+
--auto-refresh Automatically refresh PK token after login
32
+
--config-path string Path to the client config file. Default: ~/.opk/config.yml on linux and %APPDATA%\.opk\config.yml on windows
33
+
--configure Apply changes to ssh config and create ~/.ssh/opkssh directory
34
+
--create-config Creates a client config file if it does not exist
35
+
--disable-browser-open Set this flag to disable opening the browser. Useful for choosing the browser you want to use
36
+
-h, --help help for login
37
+
-t, --key-type Key Type Type of key to generate (default ecdsa)
38
+
--log-dir string Directory to write output logs
39
+
--print-id-token Set this flag to print out the contents of the id_token. Useful for inspecting claims
40
+
-p, --print-key Print private key and SSH cert instead of writing them to the filesystem
41
+
-i, --private-key-file string Path where private keys is written
42
+
--provider string OpenID Provider specification in the format: <issuer>,<client_id> or <issuer>,<client_id>,<client_secret> or <issuer>,<client_id>,<client_secret>,<scopes>
43
+
--remote-redirect-uri string Remote redirect URI used for non-localhost redirects. This is an advanced option for embedding opkssh in server-side logic.
44
+
--send-access-token Set this flag to send the Access Token as well as the PK Token in the SSH cert. The Access Token is used to call the userinfo endpoint to get claims not included in the ID Token
44
45
```
45
46
46
47
### SEE ALSO
47
48
48
49
*[opkssh](opkssh.md) - SSH with OpenPubkey
49
50
50
-
###### Auto generated by spf13/cobra on 19-Jan-2026
51
+
###### Auto generated by spf13/cobra on 21-Jan-2026
0 commit comments