Last active
March 26, 2023 22:04
-
-
Save astra137/6fe578bca51163a8cfdeb53aa2efb083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://learn.microsoft.com/en-us/windows/wsl/filesystems#run-windows-tools-from-linux | |
# Disclaimer: I have no idea what the performance implications of this are. | |
# wsl -u root | |
ln -s "/mnt/c/Program Files/OpenSSH/ssh.exe" /usr/local/bin/ssh | |
ln -s "/mnt/c/Program Files/OpenSSH/scp.exe" /usr/local/bin/scp | |
ln -s "/mnt/c/Program Files/OpenSSH/ssh-add.exe" /usr/local/bin/ssh-add | |
ln -s "/mnt/c/Program Files/OpenSSH/ssh-keygen.exe" /usr/local/bin/ssh-keygen | |
ln -s "/mnt/c/Program Files/OpenSSH/ssh-keyscan.exe" /usr/local/bin/ssh-keyscan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with OpenSSH_for_Windows_9.1p1, Windows SSH agent service, and FIDO2 USB authenticator keys.
As an aside, I am thrilled to remove my previous solution with npiperelay and socat.