Fish119

君子不器,上善若水

0%

Windows ssh config 文件不起作用的问题

If you use “Git for Windows”

1
>cd c:\Program Files\Git\etc\ssh\

add to ssh_config following:

1
2
3
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_rsa_other

ps. you need ssh version >= 7.2 (date of release 2016-02-28)