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 email you used for gpg generate

$ pass init tofeeq3@gmail.com

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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s