windowsgitssh

Git SSH client for windows and wrong path for .ssh/config file


I installed Git-1.7.9-preview20120201.exe, and when I try to access my repository via SSH it failed.

I investigated and found that if I run SSH -T git@myrepo.com, SSH doesn't load ~/.ssh/config where a custom port is defined.

When I try SSH -F c:\users\tomas\.ssh\config git@myrepo.com everything is OK.

I used Process Monitor and found that SSH is trying to find \\\\.ssh\config here C:\Windows\CSC\v2.0.6\namespace\.ssh.

Why?

How I can force it to use normal path? %HOMEPATH%\.ssh\config?


Solution

  • I found that windows msygit port store ssh config here <installPath>\Git\etc\ssh\ssh_config