Clone GiltLab repository with SSH in Mac OS

Alfredo Barron
Published in
2 min readMar 24, 2021


We learning to generate SSH key in macOS Big Sur, create deploy key in GitLab that clone repository in our server with SSH.

Photo by Christopher Gower on Unsplash

Step 1. Generate Key

In first step, we require to get key using bellow command, So open your terminal or command prompt and run bellow command:

ssh-keygen -t rsa