From 29c3362015522c72ac01865f3770e60ced7b9172 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Tue, 13 Mar 2018 12:37:06 +0000 Subject: [PATCH] readme: link to ssh into guest procedure --- README.adoc | 10 +++++++++- buildroot_config_fragment | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index bb5f49b..b620b04 100644 --- a/README.adoc +++ b/README.adoc @@ -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 <>. +===== 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 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: * 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. diff --git a/buildroot_config_fragment b/buildroot_config_fragment index b822a4d..83f0a31 100644 --- a/buildroot_config_fragment +++ b/buildroot_config_fragment @@ -15,6 +15,7 @@ BR2_PACKAGE_OVERRIDE_FILE="../buildroot_override" # For qemu-ga on guest. TODO: do something with it, and document it. BR2_PACKAGE_QEMU=y BR2_PACKAGE_STRACE=y +#BR2_PACKAGE_OPENSSH=y BR2_ROOTFS_OVERLAY="../rootfs_overlay" BR2_ROOTFS_POST_BUILD_SCRIPT="../rootfs_post_build_script" BR2_ROOTFS_POST_IMAGE_SCRIPT="../rootfs_post_image_script"