# Linux Kernel Module Cheat

##### 15.3.1.2. ssh into guest

Not enabled by default due to the build / runtime overhead. To enable, build with:

    ./build-buildroot --config 'BR2_PACKAGE_OPENSSH=y'

Then inside the guest turn on sshd:

    ./sshd.sh

Source: rootfs_overlay/lkmc/sshd.sh

And finally on host:

    ssh root@localhost -p 45456

Bibliography: https://unix.stackexchange.com/questions/124681/how-to-ssh-from-host-to-guest-using-qemu/307557#307557