I am trying to clone directory of hipi from GitHub to my Ubuntu System using command 'git clone git@github.com:uvagfx/hipi.git' but it's showing an error as Cloning into 'hipi'... Permission denied (publickey). fatal: The remote end hung up unexpectedly. How to solve this error ?
Asked
Active
Viewed 695 times
3 Answers
0
If you clone to a directory where you have user permission ( /home/user/git) it will work fine.

Achala Yasas Piyarathna
- 148
- 2
- 12
-
1Also you should set the SSH key ! – Achala Yasas Piyarathna May 02 '17 at 17:32
-
Tried this but still I am getting same error . I think it's related to authentication of public keys . Do you have any idea about it . Note- already saved SSH keys in profile – vinay May 02 '17 at 17:34
-
1http://stackoverflow.com/questions/2643502/git-permission-denied-publickey?rq=1 try this link it's bit similar. You'll find something useful there. – Achala Yasas Piyarathna May 02 '17 at 17:37
0
You can use HTTPS version for cloning. That will require you Git Credentials instead of using ssh keys.
git clone https://github.com/uvagfx/hipi.git

alayor
- 4,537
- 6
- 27
- 47
-1
Checked almost every option posted here .. but what I found useful is backing up database from cpanel and files from file manager and then restoring it .

vinay
- 167
- 1
- 4
- 12