Windows Git SSH加密配置使用

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hanzheng260561728/article/details/87177844

cd F:

git config --global user.name "XX"

git config --global user.email "XX@XX"

git init

生成密钥自己注册的账号邮箱
ssh-keygen -C XX@XX -t rsa

密钥路径(/c/Users/XX/.ssh/id_rsa)

测试ssh
ssh -T XX@XX

拷贝密钥到http://XX.vicp.io/XX/no下面
cat id_rsa.pub

查看或者用第三方工具打开
clip 'c:Users/hanzheng/.ssh/id_rsa.pub'

客户端
https://tortoisegit.org/download/
https://git-for-windows.github.io

tortoiseGit
网络配置-SSH客户端-D:\Program Files\Git\usr\bin\ssh.exe (git路径)

下载项目
git clone http://XX.vicp.io/XX/no.git

猜你喜欢

转载自blog.csdn.net/hanzheng260561728/article/details/87177844
今日推荐