/home/www/.ssh/id_rsa
---begin---
github
--end--
---begin--
git.oschina.net
---end--
Tiada masalah menggunakan klon daripada github, tetapi ia tidak akan berfungsi jika anda menukar kepada kunci awam lain (platform). Mesej ralat adalah seperti berikut:
RSA key fingerprint is 98:ab:2b:30:60:00:82:86:bb:85:db:87:22:c4:4f:b1.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '101.70.156.64' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Selesai
Cuma tambah peraturan baharu dalam
~/.ssh/config
.http://blog.sina.com.cn/s/blo...
Hanya ubah suai konfigurasi