Skip to content

gh auth login hangs after selecting github.com (Debian 12) #7356

Closed

Description

@JetForMe

Describe the bug

Following the instructions to install and use gh auth login, gh hangs after selecting “github.com”. Similar to #7208, but writing this for Debian 12, rather than wsl2.

Steps to reproduce the behavior

  1. Install gh
  2. gh auth login
  3. Select “Github.com”
  4. Hang

Expected vs actual behavior

A clear and concise description of what you expected to happen and what actually happened.

Logs

$ gh --version
gh version 2.27.0 (2023-04-07)
https://github.com/cli/cli/releases/tag/v2.27.0
rmann@router12:~/router/repo/linuxcnc/config/router3$ gh auth login
? What account do you want to log into? GitHub.com
<never returns here>

Note, --with-token also hangs:

$ gh auth login --with-token < token 
<never returns here>

Activity

  1. added
    bug
    on Apr 24, 2023
  2. added
    needs-triage
    on Apr 24, 2023
  3. JetForMe commented on Apr 24, 2023

    @JetForMe
    Author

    Ah, this was user error. I was doing this via ssh, but on the machine itself it was asking the user for the keyring password. Once I entered that, gh via ssh worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions