Skip to content

Add Hyper-V socket support to sshd #794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: latestw_all
Choose a base branch
from

Conversation

aurel26
Copy link

@aurel26 aurel26 commented Jul 11, 2025

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).

@aurel26
Copy link
Author

aurel26 commented Jul 11, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant