best practices for 'Permission denied' scenarios when trying to clone a specific GitHub repository?
I've looked through the documentation and I'm still confused about This might be a silly question, but I'm relatively new to this, so bear with me. Hey everyone, I'm running into an issue that's driving me crazy. I'm trying to clone a repository from GitHub using SSH, but I keep getting a 'Permission denied (publickey)' behavior. I've confirmed that my SSH key is properly added to my GitHub account, as I can see it listed in my SSH and GPG keys section. Here's the command I'm using to clone the repository: ```bash git clone git@github.com:username/repo-name.git ``` I've double-checked that the repository exists and that I have the necessary permissions to access it. My SSH key is located at `~/.ssh/id_rsa` and I have an entry in my `~/.ssh/config` file as follows: ```plaintext Host github.com User git IdentityFile ~/.ssh/id_rsa ``` I ran the following command to test the SSH connection: ```bash ssh -T git@github.com ``` This works and returns: `Hi username! You've successfully authenticated, but GitHub does not provide shell access.` However, the cloning fails with the permission behavior. I've tried regenerating my SSH keys and updating my GitHub settings, but that hasn't resolved the scenario. Is there anything else I might be missing? Any insights would be greatly appreciated! Any help would be greatly appreciated! My development environment is Windows. What's the best practice here? For context: I'm using Bash on Linux. I'd really appreciate any guidance on this. I'm using Bash stable in this project. Could someone point me to the right documentation? I'm open to any suggestions.