SCP (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
  |[[Bild:english.png]] - [[SCP (en)|in English]]
 
  |[[Bild:english.png]] - [[SCP (en)|in English]]
 
  |}
 
  |}
'''SCP''' steht für '''S'''ecure '''C'''o'''P'''y. Mit dem Protokoll oder Programm werden Daten verschlüsselt zwischen zwei Computern ausgetauscht. Dabei verbindet sich der SCP Client ([http://en.wikipedia.org/wiki/OpenSSH OpenSSH], [[Dropbear]] (link german only), [http://en.wikipedia.org/wiki/WinSCP WinSCP]) über eine verschlüsselte Verbindung zu einem SCP Server (OpenSSH, Dropbear). Für die Anmeldung und Verbindung wird [[SSH]] (link german only) genutzt.
+
'''SCP''' is an acronym for '''S'''ecure '''C'''o'''P'''y. This term stands either for the protocol or the application. Via SCP, data transfer between computers will be encrypted. The SCP client ([http://en.wikipedia.org/wiki/OpenSSH OpenSSH], [[Dropbear]] (link german only), [http://en.wikipedia.org/wiki/WinSCP WinSCP]) connects to the SCP server (OpenSSH, Dropbear) using an encrypted connection. The encryption is done by [[SSH]] (link german only) and includes the exchange of the credentials as well as the complete data transfer.
== Aufruf ==
 
=== Vorbereitung ===
 
* Setzt per [[Telnet (en)|Telnet]] ein [[Change_Password_(en)|password]] für den Benutzer root. Alternativ kann das Passwort auch über die Fernbedienung der Dreambox im [[General information about the Blue Panel|Blue Panel]] von [[GP Blue Panel (en)#Passwort|GP]] oder [[GP2 Blue Panel#Passwort|GP2]] (link german only) eingegeben werden.
 
* [[Dropbear]] (link german only) Dienst muss aktiv sein.
 
  
=== Kommandozeile unter Linux oder MAC ===
+
== Invocation ==
Kopieren einer Datei von einem Linux / MAC Rechner auf die Dreambox.
+
=== Setup ===
 +
* One has to set a [[Change_Password_(en)|password]] for user root via [[Telnet (en)|Telnet]]. Alternatively one can set the password via remote control of the Dreambox, using the [[General information about the Blue Panel|Blue Panel]] of [[GP Blue Panel (en)#Passwort|GP]] or [[GP2 Blue Panel#Passwort|GP2]] (link german only).
 +
* [[Dropbear]] (link german only) service has to be active.
 +
 
 +
=== Command line of Linux or MAC ===
 +
Copy of a file from a Linux / MAC computer to the Dreambox.
 
<syntaxhighlight>
 
<syntaxhighlight>
  scp Dateiname root@ip_der_dreambox:/Zielpfad
+
  scp filename root@ip_of_dreambox:/destination_path
 
</syntaxhighlight>
 
</syntaxhighlight>
Kopieren einer Datei von der Dreambox auf den Linux / MAC Rechner.
+
Copy of a file from the Dreambox to a Linux / MAC computer.
 
<syntaxhighlight>
 
<syntaxhighlight>
  scp root@ip_der_dreambox:/Pfad_zu/Dateiname /Zielpfad_vom/Linux_Rechner
+
  scp root@ip_of_dreambox:/path_to/filename /destination_path_of/Linux_computer
 
</syntaxhighlight>
 
</syntaxhighlight>
=== Mit Dolphin oder Konqueror unter KDE ===
+
=== Using Dolphin or Konqueror on KDE ===
 
{|
 
{|
 
|[[Bild:Dolphin fish.png|thumb|none|'''Fig.''' Dolphin|460px]]
 
|[[Bild:Dolphin fish.png|thumb|none|'''Fig.''' Dolphin|460px]]
 
|[[Bild:Konqueror scp.png|thumb|none|'''Fig.''' Konqueror|460px]]
 
|[[Bild:Konqueror scp.png|thumb|none|'''Fig.''' Konqueror|460px]]
 
|}
 
|}
Mit Dolphin oder Konqueror könnt ihr mit dem '''fish''' Protokoll eine SCP Verbindung auf die Dreambox herstellen.<br/>
+
Using Dolphin or Konqueror, one can use the '''fish''' protocoll for a SCP connection to the Dreambox.<br/>
Der Syntax in der Adresszeile ist wie folgt:
+
The syntax of the address bar is as follows:
 
<syntaxhighlight>
 
<syntaxhighlight>
fish://ip_der_dreambox
+
fish://ip_of_dreambox
 
</syntaxhighlight>
 
</syntaxhighlight>
=== Windows Rechner ===
+
=== Windows computer ===
 
{|
 
{|
|[[Bild:WinSCP Session.png|thumb|none|'''Fig.''' Profil erstellen|350px]]
+
|[[Bild:WinSCP Session.png|thumb|none|'''Fig.''' Create profile|350px]]
|[[Bild:WinSCP Lookup.png|thumb|none|'''Fig.''' Groups Fehlermeldung beheben|350px]]
+
|[[Bild:WinSCP Lookup.png|thumb|none|'''Fig.''' Resolve groups error message|350px]]
|[[Bild:WinSCP Connected.png|thumb|none|'''Fig.''' Verbunden mit Dropbear|320px]]
+
|[[Bild:WinSCP Connected.png|thumb|none|'''Fig.''' Connected to Dropbear|320px]]
 
|}
 
|}
  
Verwendet unter Windows das Programm [http://winscp.net/eng/docs WinSCP] für SCP Verbindungen. Erstellt ein Profil und gebt die Daten ein, wie sie in der '''Fig.''' ''Profil erstellen'' ersichtlich sind. Wählt auch das '''SCP''' Protokoll aus.
+
To use SCP connections on Windows, take the application [http://winscp.net/eng/docs WinSCP]. Create a session profile and enter the information as you can see in '''Fig.''' ''Create profile''. Do not forget to set the protocoll to '''SCP'''.
  
Deaktiviert die Checkbox '''[Lookup user groups]''', sonst erscheint eine Fehlermeldung beim Verbindungsaufbau (siehe '''Fig.''' ''Groups Fehlermeldung beheben'').
+
Deselect the checkbox '''[Lookup user groups]''' or you will get an error message during the connection attempt (see '''Fig.''' ''Resolve groups error message'').
  
Nach der Eingabe der Daten, kann die Verbindung zu der Dreambox mit '''[Login]''' hergestellt werden (siehe '''Fig.''' ''Verbunden mit Dropbear'').  
+
If you successfully entered the information, a connection to the Dreambox can be established by a click on '''[Login]''' (see '''Fig.''' ''Connected to Dropbear'').
  
{{Hinweis|WinSCP funktioniert auch unter Linux mit [http://en.wikipedia.org/wiki/Wine_(software) Wine]}}
+
{{Hinweis|WinSCP can be used on Linux as well. Use [http://en.wikipedia.org/wiki/Wine_(software) Wine] for this.}}
  
== Verwandte Themen ==
+
== Related topics ==
* [[Dropbear]] der SSH Server der Dreambox
+
* [[Dropbear]] (german only) the SSH server used by your Dreambox
* [[SSH]] Verbindung zu Dreambox herstellen
+
* [[SSH]] (german only) Connection to a Dreambox
 
[[Kategorie:Grundlagen]]
 
[[Kategorie:Grundlagen]]
 
[[Kategorie:Anleitungen]]
 
[[Kategorie:Anleitungen]]

Version vom 16. August 2013, 07:10 Uhr

Deutsch.png - in Deutsch English.png - in English

SCP is an acronym for Secure CoPy. This term stands either for the protocol or the application. Via SCP, data transfer between computers will be encrypted. The SCP client (OpenSSH, Dropbear (link german only), WinSCP) connects to the SCP server (OpenSSH, Dropbear) using an encrypted connection. The encryption is done by SSH (link german only) and includes the exchange of the credentials as well as the complete data transfer.

Invocation

Setup

  • One has to set a password for user root via Telnet. Alternatively one can set the password via remote control of the Dreambox, using the Blue Panel of GP or GP2 (link german only).
  • Dropbear (link german only) service has to be active.

Command line of Linux or MAC

Copy of a file from a Linux / MAC computer to the Dreambox.

 scp filename root@ip_of_dreambox:/destination_path

Copy of a file from the Dreambox to a Linux / MAC computer.

 scp root@ip_of_dreambox:/path_to/filename /destination_path_of/Linux_computer

Using Dolphin or Konqueror on KDE

Fig. Dolphin
Fig. Konqueror

Using Dolphin or Konqueror, one can use the fish protocoll for a SCP connection to the Dreambox.
The syntax of the address bar is as follows:

fish://ip_of_dreambox

Windows computer

Fig. Create profile
Fig. Resolve groups error message
Fig. Connected to Dropbear

To use SCP connections on Windows, take the application WinSCP. Create a session profile and enter the information as you can see in Fig. Create profile. Do not forget to set the protocoll to SCP.

Deselect the checkbox [Lookup user groups] or you will get an error message during the connection attempt (see Fig. Resolve groups error message).

If you successfully entered the information, a connection to the Dreambox can be established by a click on [Login] (see Fig. Connected to Dropbear).

Ambox notice.png WinSCP can be used on Linux as well. Use Wine for this.

Related topics

  • Dropbear (german only) the SSH server used by your Dreambox
  • SSH (german only) Connection to a Dreambox