git 生成秘钥
Git 生成 秘钥
2023-09-14 09:12:17 时间
- Permission denied (publickey).
- fatal: The remote end hung up unexpectedly
应该是ssh key过期了吧
试着重新创建ssh key,按以下步骤
- ssh-keygen
注意短横线前后都没有空格
接着一切都默认,它会在把ssh key 储存在
- ~/.ssh/id_rsa.pub
打开这个文件,把里面的所有的内容都拷贝到你的github网站的ssh key里
- gedit ~/.ssh/id_rsa.pub
在github的右上角edit your profile 里找到ssh key,然后add ssh key,把东西拷贝到key就可以了,title随便填。
接着就继续你的push吧
相关文章
- git使用中checkout生成临时br的问题(吓出一身冷汗啊)
- linux 生成git ssh秘钥
- [Git] Git fetch和git pull的区别
- [Git] git revert ( revert commit 和 revert merge)
- git的常用命令
- 【Git】如何将本地非git目录与远程创建的git目录建立关联
- [git/svn]Git和SVN差异
- git常用命令
- 查看本地Git仓库历史修改内容
- [Git] Recover Local Changes from `git reset --hard` with `git reflog`
- [Git] Undo my last commit and split it into two separate ones
- [GIT]1. init, add, commit, log, status
- centos8上使用gitosis管理git项目
- Git远程02:git clone都做了什么
- git 命令
- [Git] Use git add --patch for better commit history and mitigating bugs
- [Practical Git] Clean up commits with git rebase
- [Practical Git] Filter commit history with git log arguments
- [Practical Git] Format commit history with git log arguments
- [Git] Purging History
- IDEA使用Git将本地工程推送到远程仓库
- git一般命令二
- git项目开发版本控制实践
- git reset
- Git SSH Key 生成步骤
- Git的fatal: Not a git repository (or any parent up to mount point /home)
- git 小乌龟 更新分支_git常用操作
- Pycharm中修改git提交代码的账户和用户名【Git追溯注解,git blame】
- Git删除本地/本地远程/远程服务器分支