Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Git course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
courses
Git course
Commits
eecf3d12
Commit
eecf3d12
authored
7 years ago
by
Mihai Lefter
Browse files
Options
Downloads
Patches
Plain Diff
Add ssh keys in remote handouts.
parent
ba8add35
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
remotes/remotes_handouts.tex
+23
-3
23 additions, 3 deletions
remotes/remotes_handouts.tex
with
23 additions
and
3 deletions
remotes/remotes_handouts.tex
+
23
−
3
View file @
eecf3d12
...
...
@@ -15,10 +15,30 @@ Please take the following into account with respect to our GitLab server:
\item
If you don't have an LUMC account, ask us to create a GitLab account
for you and select
{
\em
Standard
}
instead of
{
\em
LDAP
}
on the login
page.
\item
Our GitLab server is very similar (in fact, it is a clone) to the
popular online GitHub (
\url
{
https://github.com
}
) and Bitbucket
(
\url
{
https://bitbucket.org
}
) services.
\end{itemize}
It is convenient to set up an ssh key on GitLab. Make one as follows (you can leave all fields blank):
\begin{lstlisting}
$
ssh
-
keygen
Enter file in which to save the key
(/
home
/
<username>
/
.ssh
/
id
_
rsa
)
:
Enter passphrase
(
empty for no passphrase
)
:
Enter same passphrase again:
\end
{
lstlisting
}
\medskip
Open
\url
{
https:
//
git.lumc.nl
}
in your browser and log in.
\medskip
Click on your avatar
(
top
-
right corner
)
, choose ``Settings'', and then go the ``SSH Keys'' page.
\medskip
Copy your ssh key, retrieved with the following
\lstinline
{
cat
}
command, and paste it in the ``Key'' field:
\begin
{
lstlisting
}
$
cat ~/.ssh/id
_
rsa.pub
\end{lstlisting}
\medskip
Give your key a title (e.g., ``Course machine'') and press the ``Add key'' button.
\bigskip
\subsubsection*
{
Add your repository to GitLab
}
...
...
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
register
or
sign in
to comment