gitui icon indicating copy to clipboard operation
gitui copied to clipboard

"Unable to connect to agent pipe" when attempt to push a repository

Open shanoaice opened this issue 2 years ago • 2 comments

Describe the bug When I attempt to push any repository, it fails and gives this error: git error:error authenticating: unable to connect to agent pipe; class=Ssh (23).

To Reproduce Steps to reproduce the behavior:

  1. Go to any local git repository and run gitui
  2. Attempt to push local changes
  3. See error

Expected behavior Gitui pushes local changes successfully to the remote.

Context (please complete the following information):

  • OS/Distro + Version: Windows 11 22H2 22632.1631
  • GitUI Version gitui 0.22.1
  • Rust version: Binary from the release. Should be same as the version used in Github Actions.

Additional context I do have some additional SSH configuration:

Host github.com
    IdentityFile ~/.ssh/id_ed25519_gh
    IdentitiesOnly yes

Host github-sekiryu
    Hostname github.com
    IdentityFile ~/.ssh/id_ed25519_sekiryu
    IdentitiesOnly yes

This is only meant to switch between my two Github accounts efficiently. I am not sure whether this can cause any problem. Normal git push works well.

shanoaice avatar Apr 25 '23 14:04 shanoaice

Am also having this issue with a similar SSH configuration on Windows 10

conor-byrne avatar Jun 03 '23 17:06 conor-byrne

This issue has been automatically marked as stale because it has not had any activity half a year. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 15 '23 06:12 stale[bot]