电脑中找不到.ssh文件的解决办法

打开GIT bash
写上命令:
1.git config --global user.name “XXX”
xxx代表你的用户名

2.git config --global user.email "[email protected]"
输入邮箱

3.生成一个新的SSH密钥
打开 Git Bash,输入如下命令,然后连续按三个回车即可:
ssh-keygen -t rsa -C "[email protected]"
然后会出来提示Enter file in which to save the key 后面是一个路径,你就会找到你想要的.ssh文件夹了

猜你喜欢

转载自www.cnblogs.com/tzxy/p/11719746.html