Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OOP1WS
Container
Commits
3f39f2eb
Commit
3f39f2eb
authored
11 months ago
by
Hampölz, Rene
Browse files
Options
Downloads
Patches
Plain Diff
docs(ssh): Change windows path separator
parent
52d368f3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/ssh.md
+3
-3
3 additions, 3 deletions
docs/ssh.md
with
3 additions
and
3 deletions
docs/ssh.md
+
3
−
3
View file @
3f39f2eb
...
...
@@ -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)_
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`
3.
Press enter for all questions to keep the default
-
_Make sure that you do not overwrite any already existing keys!_
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`
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`
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment