This posts assumes that you’ve already synced the OS images on to your virtual box. If you haven’t, check out this blog post.
While launching a new virtual machine for project1, I kept on running into variants of the following error:
vagrant@ubuntu-bionic:~$ sudo uvt-kvm ssh aos_vm1 email@example.com: Permission denied (publickey).
To get this to work, here are the steps I took:
vagrant@ubuntu-bionic:~$ sudo uvt-kvm create aos_vm1 release=bionic --memory 256 --ssh-public-key-file /root/.ssh/id_rsa.pub vagrant@ubuntu-bionic:~$ sudo uvt-kvm wait aos_vm1 vagrant@ubuntu-bionic:~$ sudo uvt-kvm ssh aos_vm1
I’m Matt Chung. I’m a software engineer, seasoned technology leader, and father currently based in Seattle and London. I love to share what I know. I write about topic developing scalable & fail-safe software running in the AWS cloud, digital organization as a mechanism for unlocking your creativity, and maximizing our full potentials with personal development habits.View all articles