-
Notifications
You must be signed in to change notification settings - Fork 4
Version control
József Stéger edited this page Mar 27, 2018
·
1 revision
- Generate a new rsa key.
ssh-keygen -N "" -t rsa -b 4096 -f kooplex_gitlab_rsa
-
Upload the public part of your new key in the gitlab as an additional key, named
kooplex_gitlab_rsa.pub
-
Make sure to edit ssh client configuration file in your home folder
.ssh/config
file to contain the following lines. The IdentityFile property should point to the absolute path of your private instance of the new RSA keykooplex_gitlab_rsa
.
Host kooplexgit
User git
HostName kooplex.vo.elte.hu
IdentityFile <YOUR_PRIVATE_RSA_FILE>
Port 22222
- clone a project repository paying attention to indicate who the project owner is and do not forget to append
.git
as an extensio to the project name.
git clone kooplexgit:<PROJECT_OWNER>/<PROJECT_NAME>.git