Created
January 9, 2022 11:33
-
-
Save hershkoy/0fb256736be94ff56cc5a526bd7f482f to your computer and use it in GitHub Desktop.
Connect to private github repo from windows using deploy keys
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
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