Created
August 24, 2018 12:30
-
-
Save miyaokamarina/2eee1786f840da7f582663248d8e65f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen | |
Set-Alias ssh-agent "$env:ProgramFiles\git\usr\bin\ssh-agent.exe" | |
Set-Alias ssh-add "$env:ProgramFiles\git\usr\bin\ssh-add.exe" | |
Start-SshAgent -Quiet | |
ssh-add ~/.ssh/id_rsa | |
cat ~/.ssh/id_rsa.pub | Set-Clipboard | |
# Add key to GitHub | |
ssh -T git@github.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment