Skip to content

wgrabowski/gsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gsm

git ssh manager - tell git which private key to use

what is it?

I created this tool because I needed to use different ssh keys to access git repositories

To use specific ssh key while performing git cli there command you need to do this

git config --global core.sshCommand "ssh -i <path-to-key>";

or this

GIT_SSH_COMMAND = "ssh -i <path-to-key>"  git ...

This tools simplifies this experience to :

gsm use <name>;
git ...

This sets saves preferred ssh key file path in git global config core.sshCommand until you change it.

You can add existing keys with user-friendly names with gsm add and chose which one to use with gsm use




About

git ssh manager - select witch ssh identity use for git commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages