I want to use different private key files to connect to different SSH servers (
ssh://git-server:port/repository). How to manage that? SSH seems to assume the private key file in
That's why there's the
If you see a dialog similar to this:
You need to enter your user password for your OS X account. Not your key passphrase, or the remote SSH password. This is because they identity hasn't been stored in the keychain.
According to this tutorial, the following command should add them appropriately:
The easiest way to accomplish this is with a ssh config file.
You can also specify certain subdomains use certain users. Useful if your laptop travels between networks.
You could even configure by domains, and use different ssh keys for different domains.