Encrypt Your Passwords Inside A Container With The Pwd.sh Command-Line Tool

Pwd.sh is a command-line script that helps the users manage passwords in an encrypted container, stored locally and accessible only via command-line.

The encryption is done via GPG and the users can open the container via command-line, decrypt it by using the master password and retrieve and manage stored passwords. But you can decide to store it on Dropbox, Google Drive or other cloud services, to access it from multiple computers.

It does not fill the passwords in the internet browser, but you can perform the copy paste by hand.

Installation instructions:

To install the script on Ubuntu, Debian and derivative systems, you just need to install the git and gnupg packages, clone the git repo, cd into the git folder and run the script:

$ sudo apt-get install git gnupg
$ git clone https://github.com/drduh/pwd.sh
$ cd pwd.sh

Next, run the script with ./pwd.sh and an argument:

  • ./pwd.sh w gmail 30 to generate and write a password called ‘gmail’ with a length of 30 characters, or
  • ./pwd.sh r github to read the password called ‘github’, or
  • ./pwd.sh d dropbox to delete the password called ‘dropbox’.

More instructions are available via the project’s github page.

The installation instructions should work on Ubuntu, Linux Mint, Pinguy OS, Elementary OS, Deepin, Peppermint, LXLE, Linux Lite, Debian, SparkyLinux, RoboLinux and other Ubuntu and Debian derivative systems.

Tagged with: , , , , , , , , , , ,
Posted in The Linux and Unix Articles!
2 comments on “Encrypt Your Passwords Inside A Container With The Pwd.sh Command-Line Tool
  1. mandelake says:

    “the project’s github page” lands you at:


Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!