Skip to content

Load your SSH private keys stored on LastPass into your authentication agent

Notifications You must be signed in to change notification settings

rafaelzimmermann/lastpass-ssh-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

LastPass SSH Keys

Use LastPass CLI to add your private keys identities to your authentication agent, and easily ssh into your machines without having to remember your passphrases. If you store your private key on LastPass you don't even need to have it locally, otherwise the script will search for the private key on $HOME/.ssh directory.

Dependencies

How to use

Add lpass-ssh-keys to your PATH.

$ lpass-ssh-keys --help

lpass-ssh-keys : It uses LastPass CLI to add your private keys identities to
    your authentication agent, and easily ssh into your machines without
    having to remember your passphrases.
Usage:
lpass-ssh-keys [arguments]

Arguments:
--help (-h): Display this help message
--username (-u): LastPass username
--lpgroup (-l): Name of the LastPass group where your SSH Keys are in

$ lpass-ssh-keys --username <LastPass username> --lpgroup <LastPass group>

About

Load your SSH private keys stored on LastPass into your authentication agent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages