Git:配置SSH连接:修订间差异

来自WHY42
imported>Soleverlee
(以“下面是Windows平台下使用SSH连接git@oschina。 安装Git Bash后,打开Git Bash: <source lang="bash"> ssh-keygen -t rsa -C "solee.linux@gmail.com" </sou...”为内容创建页面)
 
imported>Soleverlee
无编辑摘要
 
第14行: 第14行:
Welcome to Git@OSC, 红尘一人!
Welcome to Git@OSC, 红尘一人!
</pre>
</pre>
[[Category:Programe]]

2016年9月1日 (四) 10:09的最新版本

下面是Windows平台下使用SSH连接git@oschina。

安装Git Bash后,打开Git Bash:

ssh-keygen -t rsa -C "solee.linux@gmail.com"

然后把id_rsa.pub的文件内容添加到git@oschina中即可

 ssh -T git@git.oschina.net
Welcome to Git@OSC, 红尘一人!