Skip to content

[BUG] Unable to access private repo using PAT: terminal prompts disabled #1273

Description

@pro-sumer

Description

I set up a (fine grained) Personal Access Token (PAT), as as suggested in #150, but still I get this error when testing the connection for a private repo:

could not read Username for 'https://github.com": terminal prompts disabled

Steps to reproduce

  1. Set up a Personal Access Token (PAT) on GitHub with access to a private repo
  2. Add username and PAT as a HTTPS credential on Dockhand
  3. Add the private Git repo as https://github.com/<username>/<repo> using the credential from step 2.
  4. Test the connection for the repo from step 3.

Logs

...
2026-07-10T20:21:06.391362227Z [dockhand] 2026-07-10T20:21:06.391Z [Git] Connection test failed: fatal: could not read Username for 'https://github.com': terminal prompts disabled
...

Browser logs

n/a

Dockhand version

Version v1.0.36, 4c46993 (Jun 27, 2026)

Hawser version (if used)

n/a

Connection mode

socket

Please confirm the following

  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready to gofixed, goes to the next release

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions