Skip to content

Instantly share code, notes, and snippets.

@hershkoy
Created January 9, 2022 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hershkoy/0fb256736be94ff56cc5a526bd7f482f to your computer and use it in GitHub Desktop.
Save hershkoy/0fb256736be94ff56cc5a526bd7f482f to your computer and use it in GitHub Desktop.
Connect to private github repo from windows using deploy keys
add to C:/Users/yourUser/.ssh/config: <= if you don't have .ssh folder, just do a ssh-gen in cmd
```
Host github_kiosker
HostName github.com
User git
IdentityFile C:/Users/Dev/.ssh/key.pem
```
then in cmd, you can clone using:
```
git clone github_kiosker:hershkoy/kiosker.git
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment