Skip to content
Snippets Groups Projects
Commit 3f39f2eb authored by Hampölz, Rene's avatar Hampölz, Rene
Browse files

docs(ssh): Change windows path separator

parent 52d368f3
No related branches found
No related tags found
No related merge requests found
...@@ -77,15 +77,15 @@ You should be able to generate a key with the `ssh-keygen` command on any operat ...@@ -77,15 +77,15 @@ You should be able to generate a key with the `ssh-keygen` command on any operat
1. Open your terminal _(use PowerShell on Windows)_ 1. Open your terminal _(use PowerShell on Windows)_
2. Create a new SSH key: 2. Create a new SSH key:
- Windows: `ssh-keygen -f "$Env:USERPROFILE\.ssh\tugraz_rsa"` - Windows: `ssh-keygen -f "$Env:USERPROFILE/.ssh/tugraz_rsa"`
- Linux / MacOS: `ssh-keygen -f ~/.ssh/tugraz_rsa` - Linux / MacOS: `ssh-keygen -f ~/.ssh/tugraz_rsa`
3. Press enter for all questions to keep the default 3. Press enter for all questions to keep the default
- _Make sure that you do not overwrite any already existing keys!_ - _Make sure that you do not overwrite any already existing keys!_
4. Add your private key to the SSH authentication agent: 4. Add your private key to the SSH authentication agent:
- Windows: `ssh-add "$Env:USERPROFILE\.ssh\tugraz_rsa"` - Windows: `ssh-add "$Env:USERPROFILE/.ssh/tugraz_rsa"`
- Linux / MacOS: `ssh-add ~/.ssh/tugraz_rsa` - Linux / MacOS: `ssh-add ~/.ssh/tugraz_rsa`
5. Copy the content of your public key. To display the content, execute one of the following commands: 5. Copy the content of your public key. To display the content, execute one of the following commands:
- Windows: `type "$Env:USERPROFILE\.ssh\tugraz_rsa.pub"` - Windows: `type "$Env:USERPROFILE/.ssh/tugraz_rsa.pub"`
- Linux / MacOS: `cat ~/.ssh/tugraz_rsa.pub` - Linux / MacOS: `cat ~/.ssh/tugraz_rsa.pub`
6. Log into the [TU Graz GitLab](https://gitlab.tugraz.at/) and click on "*Edit profile*". Then go to the "*SSH key*" page in the right menu. Add a new key and paste your public key from the clipboard into the key field. 6. Log into the [TU Graz GitLab](https://gitlab.tugraz.at/) and click on "*Edit profile*". Then go to the "*SSH key*" page in the right menu. Add a new key and paste your public key from the clipboard into the key field.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment