499
Correction
(discuss.tchncs.de)
Post funny things about programming here! (Or just rant about your favourite programming language.)
If you're using OpenSSH, the
IdentityFileconfiguration directive selects the SSH key to use.Add something like this to your SSH config file (
~/.ssh/config):This will use the
github_rsakey for repositories hosted atgithub.com, and thegitlab_rsakey for repositories hosted atgitlab.com. Adjust as needed for your key names and hosts, obviously.