I want to use Git Extensions in Microsoft Visual Studio 2013. For security reasons, I'm using a custom ssh-port (lets say 1234) instead of 22 which is the default one. I did some investigation in the internet and found out that there are two ways to solve this problem:
- Setting the port in .ssh/config for my host
- Using the ssh-scheme like this: ssh://git@domain.com:{port}/{project path}
The first one is not possible because I'm using Windows as Client-OS. So i tried using ssh like this:
ssh://myusername@mydomain.com:1234/root/testapplication.git
But it's not working. Git is ignoring my custom port 1234 and always connect on 22. I can use the URL above with ssh-server running on port 22 at mydomain.com.
Whats wrong here? I can't belive that it seems not possible to use a custom ssh port on a Windows-Client...