Clone repo SSH from GitLab to Ubuntu EC2 AWS

Alfredo Barron
modulr
Published in
2 min readFeb 28, 2024

--

We learning to generate SSH key in Ubuntu 22 and create deploy key in GitLab that clone repository in our server with SSH.

Step 1. Generate Key to server

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 -C…

--

--