D11N Blog


Project maintained by douglascarson Hosted on GitHub Pages — Theme by mattgraham

Configure Windows to connect to Github using SSH

To connect to gitbug using an SSH Key from windows follow the below steps

  1. Open WSL and run the command
    ssh-keygen -t ed25519 -C "your_email@example.com"
    
  2. Copy the public and private key to /mnt/C/Users/username/.ssh

  3. Start the SSH agent
    # start the ssh-agent in the background
    Get-Service -Name ssh-agent | Set-Service -StartupType automatic
    Start-Service ssh-agent
    
  4. add the private key to the SSH agent
    ssh-add /c/Users/YOU/.ssh/id_ed25519
    
  5. Add the public key to your GitHub account