2012-03-19 3 views
2

phpfog 클라우드 서비스를 통해 php 어플리케이션을 호스팅하려고합니다. 이것은 Git 클라이언트로 처음 시도한 것입니다. PHPfog 문서에 정의 된 절차에 따라 키를 만들고 추가하는 작업을 완료했습니다. 이제phpfog로 push 할 수 없습니다. permission denied (publickey)

내 REPO를 복제하는 것을 시도하고있다 그러나

Permission denied (publickey). 
fatal: The remote end hung up unexpectedly 

: 나는 자식 bash는이 오류를 얻고있다 phpfog 이상 (자식 클론 [email protected] myrep.phpfogapp.com) 공개 키가 생성되어 phpfog에 추가되었습니다.

친절하게 도와주세요.


$ ssh -vT [email protected] 
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007 
debug1: Connecting to git01.phpfog.com [50.17.200.54] port 22. 
debug1: Connection established. 
debug1: identity file /c/Users/Mypcname/.ssh/identity type -1 
debug1: identity file /c/Users/Mypcname/.ssh/id_rsa type -1 
debug1: identity file /c/Users/Mypcname/.ssh/id_dsa type -1 
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debia 
n-3ubuntu7 
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH* 
debug1: Enabling compatibility mode for protocol 2.0 
debug1: Local version string SSH-2.0-OpenSSH_4.6 
debug1: SSH2_MSG_KEXINIT sent 
debug1: SSH2_MSG_KEXINIT received 
debug1: kex: server->client aes128-cbc hmac-md5 none 
debug1: kex: client->server aes128-cbc hmac-md5 none 
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent 
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP 
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent 
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY 
debug1: Host 'git01.phpfog.com' is known and matches the RSA host key. 
debug1: Found key in /c/Users/Mypcname/.ssh/known_hosts:1 
debug1: ssh_rsa_verify: signature correct 
debug1: SSH2_MSG_NEWKEYS sent 
debug1: expecting SSH2_MSG_NEWKEYS 
debug1: SSH2_MSG_NEWKEYS received 
debug1: SSH2_MSG_SERVICE_REQUEST sent 
debug1: SSH2_MSG_SERVICE_ACCEPT received 
debug1: Authentications that can continue: publickey 
debug1: Next authentication method: publickey 
debug1: Trying private key: /c/Users/Mypcname/.ssh/identity 
debug1: Trying private key: /c/Users/Mypcname/.ssh/id_rsa 
debug1: Trying private key: /c/Users/Mypcname/.ssh/id_dsa 
debug1: No more authentication methods to try. 
Permission denied (publickey). 
+0

의 중복 가능성 [힘내 - 권한이 거부 (공개 키)] (HTTP :. // 유래 .com/questions/2643502/git-permission-denied-publickey) –

+0

그 스레드를 확인했지만 내 문제의 해결책을 찾지 못했습니다. – Maven

+0

그리고'ssh -vT '의 출력은 어디에 있습니까? –

답변

2

나는 다시 SSH 키를 업로드 다시 시도하십시오.

  1. phpfog 콘솔에서 기존 키를 삭제하십시오.
  2. 밖으로 인쇄하여 SSH 키 : cat ~/.ssh/id_rsa.pub
  3. 는 phpfog 콘솔에서 새 SSH 키를 생성에 붙여 넣습니다
관련 문제