It's probably an easy question. I'm running on windows 8, and I want to connect to my company's repository. My company changed the default port from 22 to 1234 for some administrative reason.
My git repository looks like git@office.comp.com:proj.git .
First of all I don't understand the colon-notation in ':proj.git', I'm used to the slash-notation. Secondly I want a way to pull and push on that port either using TortoiseGit or from the command line. I tried changing the url like git@office.comp.com:1234:proj.git and git@office.comp.com:proj.git:1234, but no hope.
I always get a connection timeout error.
I used the ssh -vT -p 1234 git@office.comp.com
in the command line and it was able to connect.
So now I'm confused, I was able to connect using the ssh command but I don't know how to use it inside TortoiseGit.
See Question&Answers more detail:os