Archive for January, 2010

Linux CD Ripping Utilities

CD Ripping with Linux doesn’t have to be the labor intensive task that it once was. No longer do we have the days of writing a hundred character command to rip a CD with the perfect options. Here are some utilities aimed at making your life of ripping your collection of CD’s to a digital format you can actually use.

Read Original Here…

» Read more

To setup public key Authentication

Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on both the hosts. It can get really annoying the password is asked every time. I even had the idea of writing an expect script to provide the password. Of course, I didn’t. Instead I browsed for a solution and found it after quite some time. There are already a couple of links out there which talk about it. I am adding to it…

Lets say you want to copy between two hosts host_src and host_dest. host_src is the host where you would run the scp, ssh or rsyn command, irrespective of the direction of the file copy!

  1. On host_src, run this command as the user that runs scp/ssh/rsync

$ ssh-keygen -t rsa

This will prompt for a passphrase. Just press the enter key. It’ll then generate an identification (private key) and a public key. Do not ever share the private key with anyone! ssh-keygen shows where it saved the public key. This is by default ~/.ssh/id_rsa.pub:

Your public key has been saved in <your_home_dir>/.ssh/id_rsa.pub.

» Read more

How To Install Ngrep On RHEL(RedHat Enterprise Linux)

Ngrep is one of the most commonly used network sniffing tool which is used to capture traffic on network interfaces.  It is most commonly used with in the  VoIP (Voice Over IP) industry. Lets see how we can install it with couple of minutes.

First of all make sure that you are in the directory where you download packages, I always prefer /usr/src, and run the following command to download its RPM.

wget  ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/11/x86_64/ngrep-1.45-6.1.fc11.x86_64.rpm

Once the download is complete, you can easily install the rpm by running the following command:

» Read more