How to ssh into a Multipass-created Ubuntu VM and enable Port forwarding

196269466-957f87c7-ef70-413a-bd20-b45afc

If you want to connect to the Ubuntu VM created by Multipass from the Host host, in fact, you only need to execute the multipass shell microk8s-vm to enter, and you don’t need to enter a password at all. However, Port forwarding cannot be used through multipass shell , and there is no way to forward my Ports under Ubuntu to my Windows machine. I originally thought this was not difficult, but it turned out to be stuck. In this article, I will explain the solution.

continue reading

This article is reprinted from https://blog.miniasp.com/post/2022/10/18/Enable-port-forwarding-and-PKCS11-authentication-using-ssh-on-Windows
This site is for inclusion only, and the copyright belongs to the original author.