Skip to content

Commit b82a602

Browse files
committed
Add a doc for pageant.exe
Ref #13
1 parent 2426672 commit b82a602

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ end
4747
Close and reopen the terminal and execute `ssh your-machine`.
4848
The command should communicate with ssh-agent.exe service.
4949

50+
## Tip: For pageant.exe
51+
52+
If you want to use with the named pipe provided by pageant.exe, you can use the `-pipename` option.
53+
You can configure wsl2-ssh-agent as follows:
54+
55+
```
56+
eval $($HOME/wsl2-ssh-agent -pipename $(grep -oP "IdentityAgent \"//\./pipe/\K[^\"]+" /mnt/c/.../pageant.conf))
57+
```
58+
59+
(The author does not use pageant.exe. Let me know if it does not work.)
60+
5061
## Troubleshooting
5162

5263
### Make sure that ssh-agent.exe is working properly

0 commit comments

Comments
 (0)