In this video I have demonstrated another way to resolve the Github permission denied issue which is by setting up the SSH key for multiple github account.
Commands used in the video
-----------------------------------
1. First Create SSH key for both accounts
ssh-keygen -t rsa -b 4096 -C "[email protected]"
2. ssh-add C:\Users\username\.ssh\githubUsername
Note : Make sure that the file path is directing to correct location. If confused simply go to that folder where it is saved and copy the pat
3. Open GitHub accounts
a. Settings - SSH and GPG Keys
b. New SSH Key
c. Paste the key (Make sure it is authentication)
4. Come back to terminal and type nano ~/.ssh/config
5. Host github-githubUsername1
HostName github.com
User git
IdentityFile C:\Users\username\.ssh\fileName1
Host github-githubUsername2
HostName github.com
User git
IdentityFile C:\Users\username\.ssh\fileName2
6. git remote set-url origin git@github-githubUsername:username/repo.git
How to Resolve GitHub Permission denied issue using Credential Manager • [RESOLVED] Github permission denied. ...
#github #code #permissiondenied #githublearning #sshkey #authentication #sshauthentication #codeeasy #permission #programming
Смотрите видео [RESOLVED Using SSH] Github permission denied. The requested URL returned error 403 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь CodeEasy 04 Январь 2025, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 42 раз и оно понравилось 2 людям.