Accessing occasionally from Windows with Desktop #24065
-
Hi, I use github typically from Linux using standard git terminal commands to push and pull. I have my github account set up to use ssh authentication. But today I needed to access the account from a Windows machine. I don’t have this machine specifically configured for this. But I figured if I just installed Github Desktop for Windows it would let me do what I needed. However I can’t seem to find a way to get this Desktop client to connect with my github account. I’ve theoretically logged in to the account with name and password. But I can’t push the changes I made to a repository When I try I get :
Is there no way I can generate an ssh key from inside of and only for the use within github Desktop client, which I can then associate with my account? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@interstar you can use HTTPS with GitHub Desktop, which will work by default if you are logged in. You will need to change the remote URL to use HTTPS: If you want to use SSH you will need to follow the steps to set up a new SSH key on Windows: I hope that helps! |
Beta Was this translation helpful? Give feedback.
@interstar you can use HTTPS with GitHub Desktop, which will work by default if you are logged in. You will need to change the remote URL to use HTTPS:
https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/changing-a-remotes-url-from-github-desktop
If you want to use SSH you will need to follow the steps to set up a new SSH key on Windows:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
I hope that helps!