Git with SSH on Windows

Veröffentlicht:
Aleksandar Stajić
Aktualisiert am: 17. Mai 2023 um 13:06

Microsoft are working on adding SSH to Visual Studio, and GitHub for Windows still doesn't support SSH

1.

https://git-scm.com/download/win

2.

C:\Program Files\Git\git-bash.exe

eval $(ssh-agent -s) && ssh-add "C:\Users\USERNAME\.ssh\github_rsa"

3.

git clone git@github.com:RepoName/Project.git

THE SSH PROTOCOL "The SSH protocol uses encryption to secure the connection between a client and a server. All user authentication, commands, output, and file transfers are encrypted to protect against attacks in the network. "