wiki:shunfa/2012/1227

Version 2 (modified by shunfa, 11 years ago) (diff)

--

使用github遇到ssh上傳的權限問題,暫時紀錄不知道為何成功的指令..

  • 產生ssh pub key
  • 到網站上新增ssh key
  • git remote set-url origin ssh://git@github.com/shunfa/crawlzilla.git (修改上傳協定)
  • git commit, git push
  • 透過其他電腦ssh進入編輯git檔後,無法直接push
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly