Linux · February 8, 2019 0

Using Pass for linux

Pass is an awesome utility to store your passwords. For example you can store ssh passwords to use on terminal.

Installing pass

$ sudo pacman -S pass

Pass works on gpg keys so you need to first generate pass key

$ gpg --gen-key

Follow instructions
You can skip the passphrase (it is less secure)

Initialize pass, use the gpg id you just generated

$ pass init "XXXXXXXXX000EB03000003ABC00000XXXXXXXXXX"

Store new password to pass

$ pass insert server1/root

Show saved password

$ pass server1/root

You can copy the password to clipboard to use later

$ pass -c server1/root