This is a new problem on a machine where it all worked up to the last time I tried it. I have not used the machine in this way for a couple of months at least so I don’t know when it started.
For any private repo owned by me or my team, I can access it ok except when I use VNC to get to my CentOS 7 GNOME machine. Anything I run inside the VNC window fails to access any of my private repos, getting the Error: Repository not found. I tried this with git clone, git fetch in a directory I cloned already, and using the ssh firstname.lastname@example.org command line that git fetch uses. I have looked at the output from ssh -v -v -v -v and from git using the GIT_TRACE=2 environment variable, and the only error they show is the “Error: Repository not found”.
I verified that a simple ssh email@example.com command does use the correct ssh key and authenticates. I have no problem accessing my repos that have pubilc access.
When I ssh to the CentOS 7 machine and try the same things, everything works fine, so my ssh key and ssh configuration and my access to the repo all work. I only have had the failure when in the VNC window. I tried restarting the vnc server.
Any ideas what might be the cause or what to look at next?