首页 > 代码库 > git生成ssh密钥

git生成ssh密钥

1.生成

$ ssh-keygen -t rsa -C

2.获取当前的ssh公钥

$ cat ~/.ssh/id_rsa.pub 

 

git生成ssh密钥