Kodi Leia v18 SFTP and NFS addon auto-enable, when media source exist during upgrade
#34
(2019-05-02, 09:42)gimmeapill Wrote:
(2019-03-26, 17:29)DarthGecko Wrote: Still no solution, just deafening silence....

In case that can help someone: After also wasting a few hours of my life, I eventually managed to get sftp/ssh sources with key pair authentication working, both on Libreelec and OSMC.

What eventually did the trick was to wipe out the content of .ssh/known_hosts (take a backup just in case).
I didn't bother looking at the content difference, but the answer is probably there.

Along the way, I noticed that the sources.xml syntax for sftp has also changed a bit.

It went from:
<path>sftp://username:[email protected]/share/videos/</path>

To
<path>sftp|ssh://username:[email protected]//share/videos/</path>

Both still seem to work at the moment, but I guess it will be more future proof to update it. 
Deleting .ssh worked for my LibreElec, but not for my Macbook.  Any ideas why Kodi 18 on Mac can't use sftp?  I'm running MacOS 10.13.6.

Here's my relevant kodi.log info (doesn't tell me a lot, hopefully it makes sense to someone else?)
Quote:2019-06-17 07:00:39.578 T:140735968236416   DEBUG: CGUIMediaWindow::GetDirectory (sftp|ssh://USERNAMETongue[email protected]:22//mnt/)
2019-06-17 07:00:39.578 T:140735968236416   DEBUG:   ParentPath = [sources://video/]
2019-06-17 07:00:39.580 T:123145475371008   DEBUG: Thread waiting start, auto delete: false
2019-06-17 07:00:39.582 T:123145475371008   ERROR: GetDirectory - Error getting sftp|ssh://USERNAMETongue[email protected]:22//mnt/
2019-06-17 07:00:39.582 T:123145475371008   DEBUG: Thread waiting 123145475371008 terminating
2019-06-17 07:00:39.586 T:140735968236416   ERROR: CGUIMediaWindow::GetDirectory(sftp|ssh://USERNAMETongue[email protected]:22//mnt/) failed
2019-06-17 07:00:39.587 T:140735968236416   DEBUG: CGUIMediaWindow::GetDirectory (sources://video/)
2019-06-17 07:00:39.587 T:140735968236416   DEBUG:   ParentPath = []
Reply
 
Thread Rating:
  • 2 Vote(s) - 5 Average


Messages In This Thread
RE: Kodi Leia v18 SFTP and NFS addon auto-enable, when media source exist during upgrade - by jonathan_ou - 2019-06-17, 01:06


Logout Mark Read Team Forum Stats Members Help
Kodi Leia v18 SFTP and NFS addon auto-enable, when media source exist during upgrade52