SSH agent requires restart between every GitHub request
I've been using the 1Password SSH agent to sign commits and authenticate with GitHub for months without any issues. Today, I started experiencing intermittent SSH timeouts when trying to pull, fetch, or push:
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.At first I assumed this was a GitHub outage, but I noticed that when 1Password prompted me to approve the SSH key, the request would succeed. After a while, the timeouts would return.
I changed "Remember key approval" from 12 hours to "until 1Password quits." This helped, but now I have to restart 1Password and re-approve the key between every single Git request, otherwise it times out again.
Environment:
- Windows 11
- Affects Git CLI, Git Fork, and VS Code
- Commit signing with the same key still works fine
What I've tried:
- Changing "Remember key approval" to "until 1Password quits"
- Restarting 1Password (temporarily fixes it for one request)
- Restarting my computer
Has anyone else run into this? Any suggestions would be appreciated.
