I don't know why but I can't get it done in my case. After using ssh -i ~/.ssh/work_key and then git clone my_repo_url, it still shows errors of no permission. I tried add command clause as well but the result is still the same. Have no clues why it couldn't be done. Could you pls help?
Web Developer / Google Developer Expert in Web Technologies / Passionate about JavaScript and native Web platform APIs, and sharing about them to other developers.
I don't know why but I can't get it done in my case. After using
ssh -i ~/.ssh/work_key
and thengit clone my_repo_url
, it still shows errors of no permission. I tried addcommand clause
as well but the result is still the same. Have no clues why it couldn't be done. Could you pls help?Hello! Hmm I can think of a few things you can check to troubleshoot this:
work_key
's public key to your GitHub account's SSH Keys?git@...
url (not sure if this makes a difference but worth trying hehe)Please let me know how it goes! :)
I had the same problem as you. I had to restart my Macbook in order for it to work.