Tuesday, April 30, 2013

Boot iso image from GRUB2

This post shows how to boot clonezilla image from local disk with Grub2.

Saturday, April 6, 2013

Function for removing keys from known_hosts

When connecting via ssh to a remote host you are asked to confirm the key fingerprint. This is added to ~/.ssh/known_hosts file so no further confirmation is required.
What about when the remote key has changed? You need to delete the key from this file.
I've written a small function to make this deleting easier, just by typing one command:

sshrm-key <nr>

My .screenrc

Hi, in this post I'll show you my configuration file for GNU screen.
For those who doesn't know what screen is, it's a full-screen window manager that multiplexes a physical terminal between several processes.
You can open terminal tabs in it, detach it and later reattach and continue you work and many many more like for example session sharing.