Skip to content

Instantly share code, notes, and snippets.

@zxsanny
Last active September 15, 2021 10:27
Show Gist options
  • Save zxsanny/933790706f9d55914921aa60c3b5aa52 to your computer and use it in GitHub Desktop.
Save zxsanny/933790706f9d55914921aa60c3b5aa52 to your computer and use it in GitHub Desktop.
1. ssh-keygen - generate public key
2. copy it from C:\Users\{user}\.ssh id_rsa.pub and paste to
https://scm.2c2p.com/plugins/servlet/ssh/account/keys (or other place)
3. ssh-agent (runs ssh agent, Powershell: Set-Service ssh-agent -StartupType Automatic to run it automatically after start)
4. ssh-add (or put to C:\Program Files\Git\etc\ssh\ssh_config to the end of the file: IdentityFile C:\Users\zxsanny\.ssh\id_rsa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment