This blog post shows how to use an ssh key in local machine’s Ubuntu to authenticate your virtual machine (VM) with gitlab.com. This means you can clone or push your code to gitlab.com when you are on the VM, without having to generate a different ssh key on the VM or having to type in your password every time you clone or push code (if password authentication is still supported. If not, you won’t be able to push your code at all).