diff --git a/rapport.pdf b/rapport.pdf index 56a187298fb6c311112ce9bad489fbfee0846950..f15d2d0732823a5ac0a536d5bd540b97c6fbf006 100644 Binary files a/rapport.pdf and b/rapport.pdf differ diff --git a/rapport.tex b/rapport.tex index 85445ddea4b365b94e4cc4d73dbb4409d5421a37..8df0a0375e077813ad4306024d8122786161d418 100644 --- a/rapport.tex +++ b/rapport.tex @@ -218,8 +218,91 @@ \end{center} \part{SSH} - \chapter{La souris} + \chapter{Secure SHell} \section{} + \fbox{\begin{minipage}{\textwidth} + ssh alice@10.0.0.3 + + ssh bob@10.0.0.3 + + ssh carol@10.0.0.3 + \end{minipage}} + + \chapter{Authentification à clé publique} + \section{} + \fbox{\begin{minipage}{\textwidth} + ssh-keygen + + ssh-copy-id alice@10.0.0.2 + \end{minipage}} + + \chapter{Known Hosts} + \section{} + \fbox{\begin{minipage}{\textwidth} + ssh-keyscan -H 10.0.0.3 + + \vspace{5mm} + + nano .ssh/known\_hosts + + \# 10.0.0.3:22 SSH-2.0-OpenSSH\_7.4p1 Debian-10+deb9u7 + + ... + + \vspace{5mm} + + ssh-copy-id bob@10.0.0.3 + \end{minipage}} + + \section{} + \fbox{\begin{minipage}{\textwidth} + nano .ssh/config + + Host bc + + Hostname 10.0.0.2 + + User bob + \end{minipage}} + + \chapter{Transfert de fichiers} + \section{} + \fbox{\begin{minipage}{\textwidth} + sftp alice@10.0.0.2 + + put Rendu.txt + + get Oui.txt + \end{minipage}} + + \section{} + \fbox{\begin{minipage}{\textwidth} + sshfs alice@10.0.0.2:/home /tmp/alicecli + \end{minipage}} + + \chapter{Tunnels SSH} + \section{} + \fbox{\begin{minipage}{\textwidth} + ssh -R 8000:10.0.0.3:80 alice@10.0.0.1 + \end{minipage}} + + \chapter{SOCKS proxy} + \section{} + \begin{center} + \`{A} faire. + \end{center} + + \chapter{X11 forwarding} + \section{} + \fbox{\begin{minipage}{\textwidth} + ssh -X bob@10.0.0.3 xeyes + \end{minipage}} + + \chapter{Rebonds} + \section{} + \begin{center} + \`{A} faire. + \end{center} \part{Git}