【发布时间】:2014-09-12 14:44:13
【问题描述】:
在我的 Windows 7 上,我创建了一个位于 .ssh 文件夹中的配置文件:-
Host office
Hostname git@officeserver
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Host home
Hostname git@myhome.net:8888
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_home
但是,我仍然无法克隆 repo。
- 想知道如何在 Windows 7 上设置多个主机?
- 配置文件的扩展名应该是什么?
【问题讨论】: