Skip to content

APShirley/lpass-ssh-add-key

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Load an ssh-key for github from lastpass on Mac OS X

  • Requires lastpass cli (brew install lastpass-cli)
  • Usage is simple, add a key called github-ssh-key to your lastpass account. The key should be of type ssh-key in Lastpass. Follow github's instructions on adding the public key component to your github account. Then simply run the script as detailed below.
  • WARNING: the script will remove all current ssh keys loaded in the agent without asking (ssh-add -D).
  • Obviously you should read any script and understand what it does before running it.
  • This script assumes you get up and start work before 17:30 your local time.

To run the script: bash <(curl https://raw.githubusercontent.com/APShirley/lpass-ssh-add-key/master/add-key.sh)

About

Load an ssh key from Lastpass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages