Configure git to use a specific SSH key for a repository permanently
Bookmarked rusingh.com/articles/2020/01/14/use-a-different-ssh-key-perm…
Configure a SSH key to use with Git. I think that other way is to use ~/.ssh/config and specify different hosts. The hosts have a different name from the Hostname, and have specific ssh options.