Commit eecf3d12 authored by Mihai's avatar Mihai

Add ssh keys in remote handouts.

parent ba8add35
...@@ -15,10 +15,30 @@ Please take the following into account with respect to our GitLab server: ...@@ -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 \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 for you and select {\em Standard} instead of {\em LDAP} on the login
page. 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} \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 \bigskip
\subsubsection*{Add your repository to GitLab} \subsubsection*{Add your repository to GitLab}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment