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




~/.ssh/config windows (2)

set the HOME environment variable pointing to %USERPROFILE% for ssh to pick it up. This usually seems to be the problem for many unix solutions that run on windows.

Fast access to set user env variables:

Start > Type "env" > Select "Environmental variables for your account"

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 [email protected], SSH doesn't load ~/.ssh/config where a custom port is defined.

When I try SSH -F c:\users\tomas\.ssh\config [email protected] 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?


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





ssh