将github repo克隆到我的远程服务器(mediatemple)时遇到问题。
正在运行
git clone git@github.com:uname/myrepo.git
在登录我的服务器的终端中给了我:
权限被拒绝(publickey)。 致命:远程端意外挂断
现在我可以通过ssh从我的机器连接到我的服务器和github,我通过运行步骤5中列出的检查 - https://help.github.com/articles/generating-ssh-keys/来测试。
密钥已添加到我的github帐户中,并已复制到服务器。
我在这里缺少什么?
更新
Per Augusto的请求是我运行命令时的输出。
debug2: channel 0: written 90 to efd 7
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r43 i3/0 o3/0 fd -1/-1 cc -1)
Connection to github.com closed.
Transferred: sent 3448, received 1976 bytes, in 0.2 seconds
Bytes per second: sent 16087.0, received 9219.3
debug1: Exit status 1