Re: Git clone error
srinivasan.malligarjunan wrote:
Show 21 quoted lines
> [root@aspire038 git-1.5.6]# git clone git@github.com:/ayyanar/adva_cms.git
> Initialize adva_cms/.git
> Initialized empty Git repository in /root/Desktop/git-1.5.6/adva_cms/.git/
> The authenticity of host 'github.com (65.74.177.129)' 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,65.74.177.129' (RSA) to the list of
> known hosts.
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> [root@aspire038 git-1.5.6]# git clone
> git@github.com:/karthikeyan7585/adva_cms.git
> Initialize adva_cms/.git
> Initialized empty Git repository in /root/Desktop/git-1.5.6/adva_cms/.git/
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> [root@aspire038 git-1.5.6]#
>
>
>
> The permission denied error is comming . Please help me.
You're trying to clone over ssh as the user "git", but your key doesn't check out. You probably want to run the command
git clone git://github.com/karthikeyan7585/adva_cms.git
which works just fine for me.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231