msysgit - Git can't find .ssh -


problem using msysgit on windows; can't find .ssh/id_rsa, though present should be.

i verified that's problem ssh -v git@github.com; command works when , when use -i option explicitly point @ correct id_rsa file far can tell, git doesn't have such option; , can't find either on google or in supplied documentation.

the peculiar thing is, worked fine last time used git few months ago, , haven't changed since seems cause.

i've tried following, no effect:

  • generating new id_rsa

  • putting .ssh in current directory

  • putting .ssh in root directory

  • uninstalling msysgit , reinstalling latest version

  • setting home environment variable

  • installing tortoisegit , trying instead (didn't work @ all)

any ideas else try?

found it!

the problem there 2 different git commands, git.exe (the actual program) , git.cmd (which sets necessary stuff work on windows). depending on options set @ install time, can end scenario former rather latter 1 ends in path, doesn't work. usual debugging suggestions regarding ssh.exe don't work unless you've run git.cmd.

in nutshell, make sure you're running git.cmd instead of git.exe.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -