Cannot authenticate github with agent forwarding ssh key
When I connect to a remote machine with agent forwarding, I cannot use my local ssh keys to authenticate github.
~/.ssh/config looks like:
Host my-remote
HostName my-remote-url
User my-user
ForwardAgent yes
Settings are fully inherited from VS Code, including:
"remote.SSH.enableAgentForwarding": true
I connect to the remote machine with Open Remote - SSH (bundled with Cursor)
When I try to pull/push a github repo, I get:
The same procedure on VS Code lets me authenticate to github.
ssh -vT [email protected] also fails on the remote machine on Cursor but is successful on VS Code.
When I connect to a remote machine with agent forwarding, I cannot use my local ssh keys to authenticate github.
~/.ssh/config looks like:
Host my-remote HostName my-remote-url User my-user ForwardAgent yesSettings are fully inherited from VS Code, including:
"remote.SSH.enableAgentForwarding": trueI connect to the remote machine with
Open Remote - SSH(bundled with Cursor)When I try to pull/push a github repo, I get:
The same procedure on VS Code lets me authenticate to github.
ssh -vT [email protected]also fails on the remote machine on Cursor but is successful on VS Code.
same here, anyone knows why this fails in Cursor and not in VS Code natively? And how to fix it?
So, same problem here. Are there any updates on this?
same problem here.
same here
same here
Aggghhh why did Cursor break this? It seems to be overriding $SSH_AUTH_SOCK so nothing I do will forward the agent into the Cursor terminal. The plugins like Github Pull Requests work though but I can't use any git CLI commands :`-(
is a fix on the roadmap ?
same here
