... | ... | @@ -30,8 +30,7 @@ The default way for secure Git operation on OpenVT is the SSH protocol. Therefor |
|
|
|
|
|
Before generating and depositing an SSH key, make sure your git configuration is correct (see above). A key generated with a wrong configuration will not work.
|
|
|
|
|
|
Open a terminal (as Linux user) or open the Git Bash app (on Windows). Now, follow the instructions [here](https://virtual.openvt.eu/help/ssh/README#generating-a-new-ssh-key-pair). Use if possible ED25519 keys; in case that does not work, use RSA instead. During the creation, you will be asked to specify a passphrase: please, remember that phrase, it will be your access to secure Git actions later.
|
|
|
|
|
|
Open a terminal (as Linux user) or open the Git Bash app (on Windows). Now, follow the instructions [here](https://virtual.openvt.eu/help/ssh/README#generating-a-new-ssh-key-pair). Use if possible ED25519 keys; in case that does not work, use RSA instead. During the creation, you will be asked to specify a passphrase: please, remember that phrase, it will be your access to secure Git actions later. Furthermore, it is preferrable to use the default file name and path suggested by Git instead of defining a custum file name.
|
|
|
|
|
|
Now, you have to deposit your SSH key to your OpenVT profile. First, open the public key in a text editor, select everything and copy (alternatively, use a dedicated command, see [here](https://virtual.openvt.eu/help/ssh/README#adding-an-ssh-key-to-your-gitlab-account)). Then, click on your avatar
|
|
|
in the upper right corner and selecting **Settings**. From there on,
|
... | ... | @@ -44,7 +43,9 @@ Your can test your SSH setup with |
|
|
```bash
|
|
|
ssh -T git@virtual.openVT.eu
|
|
|
```
|
|
|
If everything is set up correctly, you will be prompted for your passphrase and get a welcome message if you type the correct passphrase.
|
|
|
If everything is set up correctly, you will be prompted for your passphrase and get a welcome message if you type the correct passphrase.
|
|
|
|
|
|
**If your SSH key still does not work:** a common problem is that the SSH client cannot find the path to the SSH key. In that case, try to repeat the creation of the key pair and do not provide a file name, use the default one instead. Re-submit the Public key and test it again.
|
|
|
|
|
|
|
|
|
**Cloning an OpenVT repository with SSH/SSL**
|
... | ... | |