How do I add another ssh key to access the GitLab repository
井民全, Jing, mqjing@gmail.com
You can use the ~/.ssh/config file to setup the key file (through identifyFile) for authorizing the host that you want to access. Here is the procedure.
Setup
Step 1: Select [Deploy key ] from gitlab
Step 2: Create key by using ssh-keygen with another key file name
Step 3 Setup the ssh config
File: ~/.ssh/config
Usage
References
https://stackoverflow.com/questions/23537881/fingerprint-has-already-been-taken-gitlab
Using the SSH Config File, https://linuxize.com/post/using-the-ssh-config-file/
SSH config file for OpenSSH client, https://www.ssh.com/academy/ssh/config