gum
gum copied to clipboard
Support managing ssh key for different git accounts
as the title mentioned, it will be much more convenient if we can manage ssh key for different git accounts at the same time
as the title mentioned, it will be much more convenient if we can manage ssh key for different git accounts at the same time
What scenarios will use multiple ssh
For example, GitHub will verify your identity with the ssh key when you push and pull via git cli. I understand that in order for multiple accounts to access github properly, not only do you have to configure your username and email, but more importantly, you also have to map to the corresponding ssh key after switching git users. For example, I have two git accounts, one for each of my two GitHub users, and two local ssh keys for each of my two github users, and I've manually modified my ssh configs to ensure that different hosts are mapped to different ssh keys. For each repository I have to change the remote url to correspond to the host in the ssh configs.
similar to this: https://gist.github.com/aprilmintacpineda/f101bf5fd34f1e6664497cf4b9b9345f