About 938,000 results
Open links in new tab
  1. git - How to generate ssh keys (for github) - Stack Overflow

    May 6, 2017 · 18 Here is the command ssh-keygen -t rsa -b 4096 -C "[your github's email]" # Creates a new ssh key # Generating public/private rsa key pair. This will generate a key for you. You have to …

  2. "Key is invalid" message on GitHub - Stack Overflow

    May 7, 2012 · On the first line, enter ssh-rsa. Make sure you add one space after ssh-rsa When you copy/paste the key into the Key textbox it should preserve the \n characters (x0A). If you are using …

  3. How to migrate from HTTPS to SSH with GitHub - Stack Overflow

    Jul 27, 2019 · Open Git Bash. Run ssh-keygen and follow the on-screen messages (or simply click Enter till it is over) Copy the key file (the content of the public key) located in: ~/.ssh/id_rsa.pub Add the key …

  4. Git how to clone with SSH key, username - Stack Overflow

    $> ssh-add ~/.ssh/id_rsa Step 3.1: Add the SSH key to your GIT account. Get your public key $> cat ~/.ssh/id_rsa.pub Go to your GIT Account Settings (your profile picture in the upper right corner) -> …

  5. How to configure command line git to use ssh key

    May 8, 2014 · When I do git pull via the command line, it always asks for my github username and password. I'd like to tell it to use the ssh key in github, and never have to worry about it again. How …

  6. ssh - How to solve Permission denied (publickey) error when using Git ...

    I previously created a public key through github, then generated another key-pair with the ssh-keygen utility. Deleting the old public key in personal settings on github and adding my ssh generated …

  7. git - How can I remove an SSH key? - Stack Overflow

    I currently have an old SSH key uploaded on a server. The problem is I lost my ~/.ssh directory (with the original id_rsa and id_rsa.pub files). Consequently, I want to remove the old SSH key direc...

  8. bash - How to specify the private SSH-key to use when executing shell ...

    A rather unusual situation perhaps, but I want to specify a private SSH-key to use when executing a shell (git) command from the local computer. Basically like this: git clone [email protected]:TheUser/

  9. How do I sign git commits using my existing ssh key

    Nov 15, 2021 · GitHub now supports SSH commit verification, so you can sign commits and tags locally using a self-generated SSH public key, which will give others confidence about the origin of a change …

  10. Multiple GitHub Accounts & SSH Config - Stack Overflow

    Jul 12, 2010 · The uni key was 'first' regardless of that setup. Had to move its section below the others in .ssh/config, and now git pull from both GitHub accts succeeds w/o asking for uni ssh password.