cd ~/.ssh
ls
//生成、管理和转换认证密钥 -t type密钥类型rsa dsa -C密钥描述 comment
ssh-keygen -t rsa -C "aaa"
//
ssh-add ~/.ssh/aaa
//删除
ssh-add -D
//验证密钥
ssh -T [email protected]
rm -rf .git //删除git文件
在gitub上添加ssh key
猜你喜欢
转载自www.cnblogs.com/rain92/p/11768828.html
今日推荐
周排行