Archives for July, 2007

Administering a QEMU guest with OpenSSH

So you’ve just installed a QEMU guest and you realize that all you reallyneed to administer it is SSH; SDL and VNC are overkill. Since AFAICS KVM’s default networking configuration prevents you from initiating host->guest TCP/IP connections, you’ll want to take advantage of SSH’s reverse tunneling (-R) capability. After installing installing sshd on the guest [...]

Saving piped output with less

The problem You’ve piped the lengthy output of some command to your pager, less. As you’re scrolling through the output you realize you’d like to save it to disk. The output took a long time to generate, so you don’t want to re-run the original command just to redirect the output to a file. Your [...]