Last active
March 6, 2026 05:52
-
-
Save mw866/28386994fc1c115e95c749ff5276dd78 to your computer and use it in GitHub Desktop.
multipass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://multipass.run/install | |
| multipass launch | |
| multipass start | |
| multipass stop | |
| multipass list | |
| multipass shell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set up SSH into mulitpasss VM e.g. as development VM | |
| multipass shell | |
| vim .ssh/authorized_keys | |
| ## Copy you personal SSH public key on your local dev machine | |
| export IP=$(multipass info --format json | jq -r ".info.primary.ipv4[0]") | |
| ssh ubuntu@$ip adddress above |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| multipass shell | |
| vim .ssh/authorized_keys | |
| ## Copy you personal SSH public key on your local dev machine | |
| IP=$(multipass info --format json | jq -r ".info.primary.ipv4[0]") | |
| ssh ubuntu@$IP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment