github中的ssh配置

 

1.配置git信息

设置git的user name和email:

$ git config --global user.name "tigerjibo"
$ git config --global user.email [email protected]

2.生成SSH密匙过程:

$ ssh-keygen –t dsa –C [email protected] –f ~/.ssh/[email protected]

在该过程中,有要求输入密码

3.将生成的公匙添加到github中的ssh中。然后你就可以enjoy了。

 

你可能感兴趣的:(github)