Skip to content

waciuma4pivotal/vkl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

vkl

Use your github ssh keys with ease!

Installation

  • Copy the script into your path.

Dependencies

  • Lastpass-CLI
  • Github ssh private key saved in a secure note in Lastpass Productivity Tools folder.
  • .git-authors file present in home directory. File should be in git-duet format.

Usage

Call vkl with the initials of the user and the number of hours you intend to use your ssh keys. If the user is not logged into lastpass on the command line, they will be prompted to login.

Example: vkl ww 3

If it is before 6pm local time, omitting the number will autoset the key to expire at 6pm.

Example: vkl ww

You may also provide the lastpass email instead of your initials.

Example: vkl [email protected]

Acknowledgements

Hat tip to Paul Nikonowicz and Andreas Voellmer who passed along earlier versions of this script.

FAQ

  • ssh_askpass: exec(/usr/X11R6/bin/ssh-askpass): No such file or directory
brew install ssh-askpass
sudo brew services start theseal/ssh-askpass/ssh-askpass
pushd /usr/X11r6/bin
sudo ln -s /usr/local/bin/ssh-askpass ssh-askpass
popd

About

Tool for adding SSH keys via lastpass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages