If you’re using OpenSSH, the IdentityFile
configuration directive selects the SSH key to use.
Add something like this to your SSH config file (~/.ssh/config
):
Host github.com
IdentityFile ~/.ssh/github_rsa
Host gitlab.com
IdentityFile ~/.ssh/gitlab_rsa
This will use the github_rsa
key for repositories hosted at github.com
, and the gitlab_rsa
key for repositories hosted at gitlab.com
. Adjust as needed for your key names and hosts, obviously.
There’s a bit more to it than captured in the summary, which is why it’s just a summary of the spec and not the actual spec.
From a bit further down on that page:
Lemmy is still in major version zero, so it can make breaking changes without incrementing the major version and still be in compliance with the spec. This way, projects won’t have their first “real” version be something like v123.0.0.
Lemmy still being v0.x also serves as kind of a warning to app developers that changes like this may be made at any time.