SFTP: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>UNiversal
>UNiversal
m (add information and disclaimer.)
Line 1: Line 1:
{{XBMC wiki toc}}
{{XBMC wiki toc}}
{{greenv|Instructions:|This page contains instructions on how-to initiate a connections via SFTP}}
{{redv|Notice:|Check local legislation about use of encryption and programs that use them, e.g. putty.}}
As of XBMC v10 (Dharma), XBMC ships with [[w:SSH File Transfer Protocol|SFTP (SSH File Transfer Protocol)]] (not to be confused with FTP) client support for media. You can use SFTP to add as a media source or as a way to connect to the machine that has XBMCbuntu v11 (Eden) and upwards installed, which contain Openssh server installed.
As of XBMC v10 (Dharma), XBMC ships with [[w:SSH File Transfer Protocol|SFTP (SSH File Transfer Protocol)]] (not to be confused with FTP) client support for media. You can use SFTP to add as a media source or as a way to connect to the machine that has XBMCbuntu v11 (Eden) and upwards installed, which contain Openssh server installed.



Revision as of 09:21, 24 December 2012

Template:XBMC wiki toc

Instructions: This page contains instructions on how-to initiate a connections via SFTP
Notice: Check local legislation about use of encryption and programs that use them, e.g. putty.


As of XBMC v10 (Dharma), XBMC ships with SFTP (SSH File Transfer Protocol) (not to be confused with FTP) client support for media. You can use SFTP to add as a media source or as a way to connect to the machine that has XBMCbuntu v11 (Eden) and upwards installed, which contain Openssh server installed.

Bare in mind that the extra layer of security typically used by SSH, will add some latency to the connection, so don't expect similar speeds to those of FTP.

Other protocols

Connecting to XBMCbuntu via SFTP

From XBMCbuntu v11 (Eden) and newer, ships with Openssh server, making it easier to access your files via SSH/SFTP. Alternative installations that contain Openssh can also use the method below to connect.


Examples of SFTP clients

Connecting to XBMCbuntu SFTP

Some XBMCBuntu installs the username is xbmc and password blank where you did not set a username or password during install.

  1. Choose a SFTP client and open an instance
  2. Enter The XBMC box IP (using Filezilla e.g. sftp://192.168.1.254)
  3. Choose port 22
  4. For username the login name you chose during install
  5. For password the password you chose during install

Fileziilamain.png

During first time connecting you will see a security warning irrespective of client used.

Filezzilawarning.PNG

Select OK or Yes

Adding SFTP as a media source

  1. Add Videos
  2. Browse
  3. Add network location
  4. Select SSH/SFTP from the protocol menu
  5. Complete other fields as required

SFTP Source Example (source.xml):

     <video>
        <source>
         <name>Remote SFTP Videos</name>
         <path>sftp://username:[email protected]/share/videos/</path>
       </source>
     </video>