I frequently need to ssh through multiple hosts to get to a destination. Frankly this is not really a problem, but there is a simpler way, and I like simpler. This is a really straight forward article, not a lot of explanation is really necessary. Sometimes I need to use…
Linux-KVM: Converting Raw Disk Images to LVM Logical Volumes Redux
This really is an update to my previous article “Linux-KVM: Converting Raw Disk Images to LVM Logical Volumes“, but the process is significantly different and thus requires more explaining than a simple inline update would do it justice. Now the big flaw with my first article was that by using…
Bash: Using Temporary SSH Keys Within A Script
Every once and a while you will have the need to make multiple ssh calls to remote systems within a bash script. Normally you would simply have the user enter their password multiple times, or have a requirement for SSH keys to be configured prior to running the keys. This…
Bash: Using pv to Display Progress of dd
One of the biggest weaknesses of dd is that it has no way to display progress on its actions. You can send a signal to the process which will pause, display statistics, and resume the process however this takes up alot of your terminal screen if you are doing any…
Identify Package Origin of Binary on Apt Systems
There will come a time when you need to install a package on a machine in order to take advantage of a utility contained within. In my case I know that I need kvm-img (which is also called qemu-img), and I assumed that it was either in the libvirt-bin package…