Generating your public key

aboSamoor | March 16, 2008 | 10:34 pm

When i tried to subscribe my feed to Ubuntu planet, i faced a bunch of steps to complete the process, you can find it here.

One of them was asking about my public ssh key on my launchpad account ?!!!, yes i have an account on launchpad, but i don’t have a public ssh key.

you can make one easily by the following commands

sudo apt-get install openssh-client openssh-server
echo "AllowedAuthentications           publickey" >> /etc/ssh/ sshd_config
ssh-keygen

after the last command you will get the same as follows:
Generating public/private rsa key pair.
Enter file in which to save the key (/media/sda8/phi/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /media/sda8/phi/.ssh/id_rsa.
Your public key has been saved in /media/sda8/phi/.ssh/id_rsa.pub.
The key fingerprint is:##################################

to get the public key that you generated and copy it to the launchpad, just try

cat ~/YourHome/.ssh/id_rsa.pub/

How to resize a bunch of photos ( images ) together ?

Mustafa | November 13, 2007 | 5:49 pm

first of all download this nice program ,
sudo apt-get install imagemagick

make a new file
gedit newfilename

and past this code in it :

Read the rest of this entry »

A script to rename a bunch of files sequentially.

Mustafa | August 26, 2007 | 8:23 am

Sometimes you need to rename a bunch of files sequentially , by giving them and initial and numbers. Here is an easy script to do that boring job.
Read the rest of this entry »

The top command.

Mustafa | | 6:07 am

We have already mentioned the ps, uptime, and w system and processes commands in the previous post, here we will discuss another very useful command, the top command.

Read the rest of this entry »