SCP (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „{|width="40%" |Bild:deutsch.png - in Deutsch |Bild:english.png - in English |}“)
 
 
(7 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{|width="40%"
 
{|width="40%"
  |[[Bild:deutsch.png]] - [[SFTP|in Deutsch]]
+
  |[[Bild:deutsch.png]] - [[SCP|in Deutsch]]
  |[[Bild:english.png]] - [[SFTP (en)|in English]]
+
  |[[Bild:english.png]] - [[SCP (en)|in English]]
 
  |}
 
  |}
 +
'''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 (en)|Dropbear]], [http://en.wikipedia.org/wiki/WinSCP WinSCP]) connects to the SCP server (OpenSSH, Dropbear) using an encrypted connection. The encryption is done by [[SSH (en)|SSH]] and includes the exchange of the credentials as well as the complete data transfer.
 +
 +
== Invocation ==
 +
=== 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 or [[GP2 Blue Panel (en)#Password|GP2]].
 +
* [[Dropbear (en)|Dropbear]] service has to be active.
 +
 +
=== Command line of Linux or MAC ===
 +
Copy of a file from a Linux / MAC computer to the Dreambox.
 +
<syntaxhighlight>
 +
scp filename root@ip_of_dreambox:/destination_path
 +
</syntaxhighlight>
 +
Copy of a file from the Dreambox to a Linux / MAC computer.
 +
<syntaxhighlight>
 +
scp root@ip_of_dreambox:/path_to/filename /destination_path_of/Linux_computer
 +
</syntaxhighlight>
 +
=== Using Dolphin or Konqueror on KDE ===
 +
{|
 +
|[[Bild:Dolphin fish.png|thumb|none|'''Fig.''' Dolphin|460px]]
 +
|[[Bild:Konqueror scp.png|thumb|none|'''Fig.''' Konqueror|460px]]
 +
|}
 +
Using Dolphin or Konqueror, one can use the '''fish''' protocoll for a SCP connection to the Dreambox.<br/>
 +
The syntax of the address bar is as follows:
 +
<syntaxhighlight>
 +
fish://ip_of_dreambox
 +
</syntaxhighlight>
 +
=== Windows computer ===
 +
{|
 +
|[[Bild:WinSCP Session.png|thumb|none|'''Fig.''' Create profile|350px]]
 +
|[[Bild:WinSCP Lookup.png|thumb|none|'''Fig.''' Resolve groups error message|350px]]
 +
|[[Bild:WinSCP Connected.png|thumb|none|'''Fig.''' Connected to Dropbear|320px]]
 +
|}
 +
 +
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'''.
 +
 +
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'').
 +
 +
{{Hinweis|WinSCP can be used on Linux as well. Use [http://en.wikipedia.org/wiki/Wine_(software) Wine] for this.}}
 +
 +
== Related topics ==
 +
* [[Dropbear (en)|Dropbear]] the SSH server used by your Dreambox
 +
* [[SSH (en)|SSH]] connection to a Dreambox
 +
[[Kategorie:Basics (en)]]
 +
[[Kategorie:Network (en)]]

Aktuelle Version vom 12. November 2016, 18:25 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, WinSCP) connects to the SCP server (OpenSSH, Dropbear) using an encrypted connection. The encryption is done by SSH 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.
  • Dropbear 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 the SSH server used by your Dreambox
  • SSH connection to a Dreambox