RedHat6.3上遇见错误:
|
1 2 3 4 5 |
error: The requested URL returned error: 403 while accessing https://github.com/jma87/socket.git/info/refs fatal: HTTP request failed |
查看github解释,应该是git版本(1.17.1)过低, yum update又提示没有可用的升级包,只能试试用ssh方式,按照官方的说明,配置一下ssh key: 1.生成rsa密钥对
|
1 2 3 4 5 6 7 |
#ssh-keygen -t rsa -b 4096 -C "your_email@example.com" Generating public/private rsa key pair. Enter file in which to save the key (/Users/you/.ssh/id_rsa): [Press enter] Enter passphrase (empty for no passphrase): [Type a passphrase] # Enter same passphrase again: [Type passphrase again] |
"your_email@example.co […]