Skip to content
Snippets Groups Projects
Commit b98aa906 authored by Yann's avatar Yann :tada:
Browse files

modifications mineures

parent 31574d60
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -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}
......
  • Yann :tada: @jaulin6u ·
    Author Owner

    Ajout deuxième partie (erreur de nom de commit)

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment