Add Hyper-V socket support to sshd#794
Add Hyper-V socket support to sshd#794aurel26 wants to merge 3 commits intoPowerShell:latestw_allfrom
Conversation
|
@microsoft-github-policy-service agree |
|
as this is still pending - we added a workaround here: https://github.com/eryph-org/guest-services |
|
Thank you for your excellent work. I was looking for this exact patch. For Hyper-V enthusiasts, I've included a pre-built binary of v10.0.0.0 that supports Hyper-V sockets for x64, along with a simple usage guide. If you don't trust the pre-built binaries, you can try building them yourself using the following instructions. |
|
Hi @tgauth and very sorry for bothering. This PR brings cool improvements, I was wondering if you needed any help to make it go forward. Something like adding unit testing, or maybe similar. I understand it's a lot of work to keep the fork up-to-date with upstream, thanks a lot for your work ! |
PR Summary
Add Hyper-V socket support to sshd (AF_HYPERV).
PR Context
This PR allows to bind the SSH server on a Hyper-V socket, which can then be accessed via
hvc ssh <VM NAME>.This is useful for connecting via SSH (e.g. for VS Code between the host and a VM) without having an IP connection.
This is PR fixes half of PowerShell/Win32-OpenSSH#2200
To be enabled, the socket must be explicitly declared in
sshd_config(ListenAddress 00000000-0000-0000-0000-000000000000).