Skip to content

Error: Repository not found, private repo, but only when in a window over VNC on my CentOS 7 machine #22980

Discussion options

You must be logged in to vote

Hi, I got help from support that led me to the solution and forgot about the thread I started here.

It turns out that the difference between the VNC session and not in VNC was that the latter was in a terminal ssh login to my computer that was non-GUI and did not use ssh-agent. When I was in a terminal in the VNC window, it was using ssh-agent. The problem was caused by the key that is specified in ~/.ssh/config for my login to github.com was in a subdirectory of ~/.ssh but only the keys in the first level directory ~/.ssh were automatically added to ssh-agent.

When I ssh’d to the machine, not with VNC, ssh to github.com looked up the key to use in ~/.ssh/config

In VNC it used ssh-agent w…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants