To clone the repository, you need to setup the [deploy key](slt2021) first. Make sure your file has a name `slt2021` without any extension.
To clone the repository, you need to setup the [deploy key](slt2021_deploykey) first. Make sure your file has a name `slt2021_deploykey` without any extension.
Copy the deploy-key to your `~/.ssh/` folder.
...
...
@@ -12,7 +12,7 @@ Sometimes, you need to explicitly add an entry in the `~/.ssh/config`:
```
Host gitlab.ethz.ch
IdentityFile ~/.ssh/slt2021
IdentityFile ~/.ssh/slt2021_deploykey
IdentitiesOnly yes
```
...
...
@@ -20,7 +20,7 @@ Moreover, if you get permission errors, you should reset the permissions:
```
chmod 640 ~/.ssh/config
chmod 400 ~/.ssh/slt2021
chmod 400 ~/.ssh/slt2021_deploykey
```
Finally, clone the repository via ssh (not https!):