Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know how to use Password and Keys in Ubuntu 11.10 , what is the exactly use of this application , and how can we use this for encrypting files?

Please also explain about ssh keys and gpg keys?

I read help from application but its doesn't go in my mind what it is all about. I have found one interesting link here. It has helped me some but I still I have doubts.

Kindly make me understand in simple and short way .

share|improve this question
up vote 2 down vote accepted

Although both use encryption, and although they might sound the same, they are otherwise unrelated.


When you encrypt with gpg, a set of keys is made in ~/.gpg to be used to encrypt and decrypt files / emails.

There is a public key you distribute to others, so they can verify your signatures and encrypt files for you, and a private key you keep, used for decrypting files sent to you.

See :


SSH keys are used to log into ssh servers (rather then passwords). Again there is a public key (you put on the server) and a private key (you keep).

See :

share|improve this answer
thanks this will help me a lot – twister_void Jan 26 '12 at 10:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.