Cloning a Gitlab project with alternate SSH port

Often, when I configure a remote server, I will change the default SSH port to something other than 22. I did this once on a machine where I ran a GitLab instance. Cloning a project securely over SSH will no longer work using the default resource link generated by GitLab.

git@[your_domain]:[your_user]/[your_project].git

As the above resource will assume port 22, when cloning it in an IDE like Intellij, an error will be thrown.

The solution requires a small tweak to the original resource link:

ssh://git@[your_domain]:[your_port]/[your_user]/[your_project].git

Explicating the SSH protocol at the start, and adding the port, will allow Intellij to resolve the resource and clone the project properly.