Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nzsmartie/wsl-ssh-pageant
A Pageant bridge for WSL, enabling ssh-ageants to talk to to PuTTY Pagent or GnuPG for Windows
https://github.com/nzsmartie/wsl-ssh-pageant
gpg4win pageant putty ssh ssh-agent wsl
Last synced: 4 months ago
JSON representation
A Pageant bridge for WSL, enabling ssh-ageants to talk to to PuTTY Pagent or GnuPG for Windows
- Host: GitHub
- URL: https://github.com/nzsmartie/wsl-ssh-pageant
- Owner: NZSmartie
- Created: 2018-04-04T14:03:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T14:08:21.000Z (almost 7 years ago)
- Last Synced: 2024-08-03T22:19:28.774Z (6 months ago)
- Topics: gpg4win, pageant, putty, ssh, ssh-agent, wsl
- Language: Go
- Homepage:
- Size: 69.3 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# [wsl-ssh-pageant](https://github.com/benpye/wsl-ssh-pageant) ported to Go
**Now supports multiple ssh connections concurrently!**
A Pageant bridge for WSL, enabling ssh-ageants to talk to to PuTTY Pagent or GnuPG for Windows
![Demo](demo.gif?raw=True)
## How to use
1. On the Windows side run Pageant (or compatible agent such as gpg4win).
2. Ensure that the directory containing `wsl-ssh-pageant.exe` is on the `PATH` in WSL, for example my path contains `/mnt/c/git/wsl-ssh-pageant'
3. In WSL run the following
```
$ socat UNIX-LISTEN:/tmp/wsl-ssh-pageant.socket,unlink-close,unlink-early,fork EXEC:"wsl-ssh-pageant.exe" &
$ export SSH_AUTH_SOCK=/tmp/wsl-ssh-pageant.socket
```4. The SSH keys from Pageant should now be usable by `ssh`!
## Credit
Thanks to
- [Ben Pye](https://githib.com/benpye) for his initial work on the C# version of [wsl-ssh-pageant](https://github.com/benpye/wsl-ssh-pageant)
- [John Starks](https://github.com/jstarks/) for [npiperelay](https://github.com/jstarks/npiperelay/)