readme: link to ssh into guest procedure

This commit is contained in:
Ciro Santilli
2018-03-13 12:37:06 +00:00
parent 900ccd31fb
commit 29c3362015
2 changed files with 10 additions and 1 deletions

View File

@@ -1575,6 +1575,14 @@ Only this specific port works by default since we have forwarded it on the QEMU
We us this exact procedure to connect to <<gdbserver>>. We us this exact procedure to connect to <<gdbserver>>.
===== ssh into guest
https://unix.stackexchange.com/questions/124681/how-to-ssh-from-host-to-guest-using-qemu/307557#307557
Uses OpenSSH's `sshd`.
Not enabled by default due to the build / runtime overhead, but it was tested and worked at the time of this commit.
==== Guest to host ==== Guest to host
TODO. There is `guestfwd`, which sounds analogous to `hostwfd` used in the other sense, but I was not able to get it working, e.g.: TODO. There is `guestfwd`, which sounds analogous to `hostwfd` used in the other sense, but I was not able to get it working, e.g.:
@@ -2545,7 +2553,7 @@ export CCACHE_MAXSIZE="20G"
The choice basically comes down to: The choice basically comes down to:
* should I store my cache on my HD or SSD? * should I store my cache on my HD or SSD?
* how big is my build, and how many build configurarations do I need to keep around at a time? * how big is my build, and how many build configurations do I need to keep around at a time?
If you don't set it, the default is to use `~/.buildroot-ccache` with `5G`, which is a bit small for us. If you don't set it, the default is to use `~/.buildroot-ccache` with `5G`, which is a bit small for us.

View File

@@ -15,6 +15,7 @@ BR2_PACKAGE_OVERRIDE_FILE="../buildroot_override"
# For qemu-ga on guest. TODO: do something with it, and document it. # For qemu-ga on guest. TODO: do something with it, and document it.
BR2_PACKAGE_QEMU=y BR2_PACKAGE_QEMU=y
BR2_PACKAGE_STRACE=y BR2_PACKAGE_STRACE=y
#BR2_PACKAGE_OPENSSH=y
BR2_ROOTFS_OVERLAY="../rootfs_overlay" BR2_ROOTFS_OVERLAY="../rootfs_overlay"
BR2_ROOTFS_POST_BUILD_SCRIPT="../rootfs_post_build_script" BR2_ROOTFS_POST_BUILD_SCRIPT="../rootfs_post_build_script"
BR2_ROOTFS_POST_IMAGE_SCRIPT="../rootfs_post_image_script" BR2_ROOTFS_POST_IMAGE_SCRIPT="../rootfs_post_image_script"