SSH copy into Multipass Instance using cloud init
- link
- Multipass Key-Based Authentication
- related
- Multipass
Create cloud-init.yaml
ssh_authorized_keys:
- <your_ssh_public_key>
and create a vm using this config
multipass launch --cloud-init cloud-init.yaml
Once launched, you can get the ip using multipass list
and ssh ubuntu@ip