While there are good instructions in GitLab's documentation that explain how to set up key-based SSH authentication, these instructions fall short of a clear, concise, and complete solution. In addition to this, if you wish to use multiple SSH identities for specific services or environments, there are even more hurdles to overcome.
This post will help you to set up SSH key-based login on GitLab, so you won't have to enter in your credentials every time you issue a
git push, and so you can avoid the issues I encountered along the way.
Let's get started!