Using SSH without a password

Suppose you have two machines, the local one (you) and the remote one (

To ssh from the local to the server without needing a password, perform these steps:

  1. ssh-keygen -t rsa
    (don’t use a passphrase. Just hit return twice)
  2. scp ~/.ssh/
  3. On the remote machine ( cat ~/ >> ~/.ssh/authorized_keys

Clear a CDRW

Use following command to clear a CDRW

# cdrecord -v dev=/dev/cdrom blank=fast

Penetration Testing How To

Rename all files in directory at once

# wget -c
# tar zxvf mvb_1.6.tgz -C /usr/share/
# chown -R root:root /usr/share/mvb_1.6/
# ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb

To rename all files in directory at once

# mvb NEW_NAME

Speed up CD/DVD-ROM

# hdparm -d1 /dev/cdrom
# cp /etc/hdparm.conf /etc/hdparm.conf_backup
# gedit /etc/hdparm.conf

Append the following lines at the end of file

/dev/cdrom {   dma = on}