From 78a2c84e5b4a753860fc40297b54ba512bc791f6 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 11 Jun 2014 20:39:01 +0200 Subject: [PATCH] Different files for different sections Files per section and made subsection outline for the tricks chapter --- Makefile | 2 +- conf.tex | 25 +++++++++++++++++++++++++ ext.tex | 0 intro.tex | 3 +++ pres.tex | 41 ++++++++--------------------------------- samen.tex | 0 server.tex | 0 truuk.tex | 19 +++++++++++++++++++ 8 files changed, 56 insertions(+), 34 deletions(-) create mode 100644 conf.tex create mode 100644 ext.tex create mode 100644 intro.tex create mode 100644 samen.tex create mode 100644 server.tex create mode 100644 truuk.tex diff --git a/Makefile b/Makefile index b01c708..cd8ce6a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ all: pdflatex pres.tex clean: - rm -vf pres.{aux,dvi,log,nav,out,snm,toc} + rm -vf pres.{aux,dvi,log,nav,out,snm,toc,vrb} cleanall: clean rm -vf pres.pdf diff --git a/conf.tex b/conf.tex new file mode 100644 index 0000000..5233710 --- /dev/null +++ b/conf.tex @@ -0,0 +1,25 @@ +\begin{frame}[fragile] + \begin{lstlisting} +Host nas + HostName 192.168.0.102 + Identityfile ~/.ssh/nas + +Host github.com + HostName github.com + Identityfile ~/.ssh/github + +Host werk + User johndoe + HostName ssh.tunnel.werk.com + ForwardX11 yes + Port 2222 + Identityfile ~/.ssh/werk + +Host muziekserver + User gebruiker + HostName muziek.dyndns.com + IdentityFile ~/.ssh/mpi + LocalForward 8123 localhost:8123 + AddressFamily inet + \end{lstlisting} +\end{frame} diff --git a/ext.tex b/ext.tex new file mode 100644 index 0000000..e69de29 diff --git a/intro.tex b/intro.tex new file mode 100644 index 0000000..c634831 --- /dev/null +++ b/intro.tex @@ -0,0 +1,3 @@ +\begin{frame} + \frametitle{Introductie} +\end{frame} diff --git a/pres.tex b/pres.tex index ca66135..9a9fda6 100644 --- a/pres.tex +++ b/pres.tex @@ -35,47 +35,22 @@ \end{frame} \section{Introductie} - \begin{frame} - \frametitle{Introductie} - \end{frame} + \input{intro.tex} \section{SSH server} - - \section{SSH config} - \begin{frame}[fragile] - \begin{lstlisting} -mart@valhalla:~$ ls -l ~/.ssh/config --rw------- 1 user user 300 Jun 2 22:08 /home/user/.ssh/config -user@valhalla:~$ cat ~/.ssh/config -Host ygdrassil - HostName 192.168.0.102 - Identityfile ~/.ssh/nas - -Host github.com - HostName github.com - Identityfile ~/.ssh/github - -Host werk - User johndoe - HostName ssh.tunnel.werk.com - ForwardX11 yes - Port 2222 - Identityfile ~/.ssh/werk - -Host muziekserver - User gebruiker - HostName muziek.dyndns.com - IdentityFile ~/.ssh/mpi - LocalForward 8123 localhost:8123 - AddressFamily inet - \end{lstlisting} - \end{frame} + \input{server.tex} \section{Handige truukjes} + \input{truuk.tex} + + \section{SSH config} + \input{conf.tex} \section{Programma's die SSH gebruiken} + \input{ext.tex} \section{Samenvatting} + \input{samen.tex} \end{document} diff --git a/samen.tex b/samen.tex new file mode 100644 index 0000000..e69de29 diff --git a/server.tex b/server.tex new file mode 100644 index 0000000..e69de29 diff --git a/truuk.tex b/truuk.tex new file mode 100644 index 0000000..fb1defd --- /dev/null +++ b/truuk.tex @@ -0,0 +1,19 @@ +\begin{frame} + \frametitle{Public key authentication} +\end{frame} + +\begin{frame} + \frametitle{X forwarding} +\end{frame} + +\begin{frame} + \frametitle{Port forwarding} +\end{frame} + +\begin{frame} + \frametitle{Agent forwarding} +\end{frame} + +\begin{frame} + \frametitle{SOCKS proxy} +\end{frame} -- 2.20.1