Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
courses
Git course
Commits
eecf3d12
Commit
eecf3d12
authored
Sep 05, 2017
by
Mihai Lefter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ssh keys in remote handouts.
parent
ba8add35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
remotes/remotes_handouts.tex
remotes/remotes_handouts.tex
+23
-3
No files found.
remotes/remotes_handouts.tex
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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment