Skip to content
Snippets Groups Projects
Commit 23af88e9 authored by Simon Ruderich's avatar Simon Ruderich
Browse files

tag2: vorlesung: try to clarify scp operations

parent aa63321f
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -67,19 +67,23 @@ Are you sure you want to continue connecting (yes/no)?
\begin{frame}{\insertsection}{Kopieren von Dateien zwischen Rechnern}
\begin{block}{\texttt{scp} \emph{(Secure copy)}}
\texttt{scp} kann Dateien von einem Rechner auf einen anderen kopieren und
verwendet \texttt{ssh} f"ur die Authentifizierung.
verwendet \texttt{ssh} f"ur die Authentifizierung und Verschlüsselung.
\end{block}
\begin{block}{Unter Linux}
\texttt{scp <quelle> <ziel>} \\
$\Rightarrow$ \texttt{<quelle>/<ziel>}: \hspace{0.25em}
\texttt{<login>@<rechnername>:<pfad+name>}
\begin{itemize}
\item lokale Datei zu entferntem Rechner kopieren: \\
\texttt{scp <quelle> <login>@<rechnername>:<ziel-pfad>}
\item entfernte Datei zu lokalem Rechner kopieren: \\
\texttt{scp <login>@<rechnername>:<quell-pfad> <ziel>}
\end{itemize}
\end{block}
\begin{alertblock}{Wichtig!}
\begin{itemize}
\item Keine Leerzeichen in \texttt{\textsl{<quelle>}} oder \texttt{\textsl{<ziel>}}!
\item Alles ohne Doppelpunkt wird als \textsl{lokale} Datei interpretiert!
\item Lokale Quellen/Ziele müssen \emph{ohne} Rechnernamen angeben werden!
\end{itemize}
\end{alertblock}
\end{frame}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment