Skip to content

Commit

Permalink
Clarify AF_UNIX socket path in README
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beattie <[email protected]>
  • Loading branch information
mjbnz authored and benpye committed Oct 31, 2018
1 parent ac2a62a commit 5830121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

1. On the Windows side run Pageant (or compatible agent such as gpg4win).

2. Run `wsl-ssh-pageant.exe --wsl C:\wsl-ssh-pageant` (or any other path) on windows in a short path (max ~100 characters total!)
2. Run `wsl-ssh-pageant.exe --wsl C:\wsl-ssh-pageant\ssh-agent.sock` (or any other path) on windows in a short path (max ~100 characters total!)

3. In WSL run the following

```
$ export SSH_AUTH_SOCK=/mnt/your-path-to-wsl-ssh-pageant.exe/ssh-agent.sock
$ export SSH_AUTH_SOCK=/mnt/your/path/to/ssh-agent.sock
```
For example, if you have wsl-ssh-pageant.exe in `C:\wsl-ssh-pageant`
For example, if you have `ssh-agent.sock` in `C:\wsl-ssh-pageant`
```
$ export SSH_AUTH_SOCK=/mnt/c/wsl-ssh-pageant/ssh-agent.sock
```
Expand Down

0 comments on commit 5830121

Please sign in to comment.