ldjhust

工欲善其事 必先利其器

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  github

摘要:用git add file添加文件时出现这样错误:fatal: Not a git repository (or any of the parent directories): .git解决办法:git init 阅读全文
posted @ 2013-08-05 21:27 ldjhust 阅读(760) 评论(0) 推荐(0) 编辑

摘要:本文来自:http://sakananote2.blogspot.com/2010/07/agent-admitted-failure-to-sign-using.html之前如果建立 ssh 连接,只要將公鑰複製到 ~/.ssh/authorized_keys 就可以利用金鑰登入而不需要建立密碼.現在的 ssh 使用同樣的方法會出現錯誤訊息Agent admitted failure to sign using the key解決方式 使用 ssh-add 指令將私鑰 加進來 (根据个人的密匙命名不同更改 id_rsa)# ssh-add ~/.ssh/id_rsa 阅读全文
posted @ 2013-08-05 21:01 ldjhust 阅读(186) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示