赞
踩
git clone/pull代码时提示输入密码,密码输入正确但是报错:git Permission denied, please try again.
#cd ~/.ssh
#ls
如果存在id_rsa.pub 或 id_dsa.pub 文件,跳过此步。
如果不存在,则生成:
#git config --list
#ssh-keygen -t rsa -C "your_email@example.com"
#cat ~/.ssh/id_rsa.pub
复制到SSH Keys页面中保存
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。