1
我想克隆一些東西,但我得到一個權限錯誤,我已經安裝git rails安裝程序here所以不知道該怎麼做。複製輔助文件
Anderss-MacBook-Pro:tmp anderskitson$ sudo git clone [email protected]:mhartl/rails_tutorial_sublime_text.git
Cloning into rails_tutorial_sublime_text...
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Anderss-MacBook-Pro:tmp anderskitson$
運行時,我也得到這個輸出的ssh-SSH添加
Anderss-MacBook-Pro:.ssh anderskitson$ ls
known_hosts
Anderss-MacBook-Pro:.ssh anderskitson$
'〜/ .ssh'的內容? – adamdunson
@adamdunson我添加了.ssh內容 –