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


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
This site is for inclusion only, and the copyright belongs to the original author.