Sshd on Librem 5 qemu image


#1

I’m trying to get ssh access from my host machine into the librem 5 qcow image. I can see sshd running, but there doesn’t appear to be a route from my host. In fact, ifconfig -a on the librem 5 image shows an address on a virtual network not present on my host. Presumably this is a security issue of qemu, but I don’t see a way to deal with it.


#2

Have you tried method from official documentation or you’re trying some custom setup?


#3

I had tried some other things from that page, but not that one. Thanks!


#4

I’ve also submitted a MR to update the Librem 5 documentation.


#5

I’ve had this problem with macvtap networks in QEMU/libvirt in the past.

You can make it work by creating a second network interface in libvirt - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_host_configuration_and_guest_installation_guide/app_macvtap.

For my other VMs, I do this. However, for my Librem 5 VM, I just ssh to another machine and then from there to the VM.