How to use multiple ssh keys for different projects and accounts on the same PC?
There are two account networks.
In the main account I work with some projects.
I created an account for other projects.
Now configure ssh for the second account.
I generated ssh added to your account networks.
When I try to clone the project:
Enter passphrase for key '/Users/mac-pc/.ssh/id_rsa': firstname.lastname@example.org: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Note: knocking on that path:
though I have to knock to another file, say "id_rsa_second"
When you try
ssh -T [username]@gitlab.com [username]@gitlab.com: Permission denied (publickey).
All ssh keys are in the folder .ssh