SSH Problem with github repository
LETRA opened this issue · 2 comments
LETRA commented
Hi. I think there's a problem with ssh keys
$ git clone git@github.com:djyde/WebShell.git APP_NAME
Cloning into 'APP_NAME'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
0xWDG commented
Weird.
I've tried on several Macs but never encountered this problem.
wes@MacBook-Pro-van-Wesley:~/Desktop$ git clone git@github.com:djyde/WebShell.git ~/Desktop/APP_NAME
Cloning into 'APP_NAME'...
Krypton ▶ Requesting SSH authentication from phone
Krypton ▶ Phone approval required. Respond using the Krypton app
Krypton ▶ Success. Request Allowed ✔
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1106 (delta 0), reused 0 (delta 0), pack-reused 1105
Receiving objects: 100% (1106/1106), 1.39 MiB | 1.95 MiB/s, done.
Resolving deltas: 100% (631/631), done.
wes@MacBook-Pro-van-Wesley:~/Desktop$
this is on the Mac of a friend of me @MaikeMLW
Maikes-MacBook-Air:~ Maike$ git clone git@github.com:djyde/WebShell.git ~/Desktop/APP_NAME
Cloning into '/Users/Maike/Desktop/APP_NAME'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1106 (delta 0), reused 0 (delta 0), pack-reused 1105
Receiving objects: 100% (1106/1106), 1.39 MiB | 2.43 MiB/s, done.
Resolving deltas: 100% (631/631), done.
Maikes-MacBook-Air:~ Maike$
djyde commented
You should use http protocol instead:
git clone https://github.com/djyde/WebShell.git APP_NAME