Untitled attachment
https://m.gmsy.in/media_attachments/files/115/632/385/941/340/093/original/9acc7fa4987797a9.png
VM のホスト側が Windows で Hyper-V でゲストを実行している場合は、.ssh/config でホストが hyper-v/VM名 の場合に ProxyCommand で hvc.exe nc を通すような設定を入れることでホストから AF_HYPERV(Hyper-V ソケット)とゲストの AF_VSOCK をつないで SSH 可能になっている。なお VM 名にスペースを入れると known_hosts が終わるので HostKeyAlias を入れるかスペースを入れるのをやめると良い。
Match host hyper-v/* ProxyCommand hvc nc -t vsock --ssh --host-prefix hyper-v/ %h %psenooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.