Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am looking for a password manager for a command-line Unix environment. So far all I can find are keyring applications for Windows, Linux, and Mac. But no command-line Unix interfaces.

My main goal is to be able to access a password keyring through an SSH connection to a machine that has no graphical user interface. If there are no good unix password keyrings out there, what would be a better way to store personal passwords in a central location?

share|improve this question
You don't want to run a X server on your local system? – Ignacio Vazquez-Abrams Dec 21 '10 at 5:43
No, I want the ability to run Putty off my flash drive and execute a single command so I don't have to install an X server on a windows machine. – Phil Dec 21 '10 at 21:25

I tend to just use gpg encrypted files. You can make your encrypted files available over nfs or distribute them via rsync. You could also go with a pull model and distribute it with svn or git or whatever vcs you prefer. Just make sure you have a good secure passphrase if you're distributing them at all. You may also want to look into gpg-agent.

share|improve this answer

I have used pwsafe it has problems with usability, but does the job.

There is also a cpm, but i have not tested it. Using KeePass in console is also possible.

share|improve this answer

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.