File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,14 @@ username/password.
41
41
SSH authentication requires ` ssh-agent ` to be running to acquire the SSH key.
42
42
Make sure the appropriate environment variables are set up (` SSH_AUTH_SOCK ` on
43
43
most Unix-like systems), and that the correct keys are added (with ` ssh-add ` ).
44
- Windows uses Pageant for SSH authentication.
44
+
45
+ Windows can use Pageant (part of [ PuTTY] ) or ` ssh-agent ` .
46
+ To use ` ssh-agent ` , Cargo needs to use the OpenSSH that is distributed as part
47
+ of Windows, as Cargo does not support the simulated Unix-domain sockets used
48
+ by MinGW or Cygwin.
49
+ More information about installing with Windows can be found at the [ Microsoft
50
+ installation documentation] and the page on [ key management] has instructions
51
+ on how to start ` ssh-agent ` and to add keys.
45
52
46
53
> ** Note:** Cargo does not support git's shorthand SSH URLs like
47
54
> ` git@example.com:user/repo.git ` . Use a full SSH URL like
@@ -54,3 +61,6 @@ Windows uses Pageant for SSH authentication.
54
61
[ `credential.helper` ] : https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
55
62
[ `net.git-fetch-with-cli` ] : ../reference/config.md#netgit-fetch-with-cli
56
63
[ GCM ] : https://github.com/microsoft/Git-Credential-Manager-Core/
64
+ [ PuTTY ] : https://www.chiark.greenend.org.uk/~sgtatham/putty/
65
+ [ Microsoft installation documentation ] : https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
66
+ [ key management ] : https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
You can’t perform that action at this time.
0 commit comments