I have a VPS that is setup with GIT. I can access the server using the user name of git through ssh.
$ssh gitvps <-- Local
git@linux-vps:~$ <-- Now remote
My config file on the local machine looks like -
Host gitvps
HostName SERVERIP
User git
Port 22
IdentityFile "~/.ssh/server/git/id_rsa"
I ran the command ssh -vT gitvps and it says Authenticated but after it reached debus1:Sending env LANG = en_US.UTF-8 it hangs.
When I try to push to my remote using git, it says my key is denied. However, all signs point to me being able to connect just fine
git git@gitvps:/home/git/test.git
Permission Denied. Is it not possible to use an SSH config file to break up all of my id_rsa keys when using GIT?