I have access to an SSH account that can access a GIT server and am able to clone/push/pull the repo in this SSH login. However I cannot access this repo from elsewhere.
On the SSH account I use,
git clone git@gitserver:proj/myrepo.git
to clone the repo.
I tried setting up a ssh tunnel to the git server from another machine using,
ssh -L 3333:gitserver:22 userid@sshserver
git clone ssh://localhost:3333/proj/repo.git
However I keep getting prompted for a password for the user 'git'. Any ideas what I am doing wrong here?