Generating your public key
aboSamoor | March 16, 2008 | 10:34 pmWhen 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/





