When you use SSH keys to authenticate to the GitLab remote server, GitLab uses the SSH protocol to securely communicate with Git. Then share or “push” your changes to a server. Git is a distributed version control system, which means you can work locally, Troubleshooting SSH connections GitLab and SSH keys.Overriding SSH settings on the GitLab server.Configure two-factor authentication (2FA).Use different accounts on a single GitLab instance.Use different keys for different repositories.Upgrade your RSA key pair to a more secure format.Configure SSH to point to a different directory.