Skip to content

Password-protected SSH keys make the tool appear stuck. #137

@kuepe-sl

Description

@kuepe-sl

Describe the bug

The SSH key that I use for the connection to GitHub requires me to enter a password.
However this conflicts with the way gh-poi draws its progress bar: The tool appears to get stuck when deleting branches.

$ gh poi
✔ Fetching pull requests...
⠹ Deleting branches...

However what actually happens is, that SSH kicks in and wants me to enter the password for the git@github.com key.
I can enter the password and then it will proceed as normal.

$ gh poi
✔ Fetching pull requests...
⠦ Deleting branches...
✔ Deleting branches...

Deleted branches
  There are no branches in the current directory

Branches not deleted
* main

I think I can see the line

Enter passphrase for key '/home/user/.ssh/id_ed25519':`

pop up for a short time, but the progress bar overwrites it almost instantly.

Your Environment

  • OS:
  • gh 2.74.0 (2025-05-29)
  • gh-poi v0.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions