"Unable to connect to agent pipe" when attempt to push a repository
- Lingua principale
- Rust
- Stelle
- 22.5k
- Fork
- 773
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo un push da un repository Git locale in GitUI 0.22.1 su Windows 11, usando la configurazione SSH indicata. Confronta il push di GitUI che fallisce con un git push normale eseguito con successo e traccia il percorso di autenticazione SSH. Il lavoro è completato quando GitUI riesce a eseguire il push con questa configurazione senza l’errore agent-pipe.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100