DOKK / manpages / debian 12 / gh / gh-auth-status.1.en
GH-AUTH-STATUS(1) GitHub CLI manual GH-AUTH-STATUS(1)

gh-auth-status - View authentication status

gh auth status [flags]

Verifies and displays information about your authentication state.

This command will test your authentication state for each GitHub host that gh knows about and report on any issues.

-h, --hostname <string>
Check a specific hostname's auth status

-t, --show-token
Display the auth token

gh-auth(1)

Feb 2023