Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] SSH version used by Kodi/XBMC (SFTP nor working)
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: SSH version used by Kodi/XBMC (SFTP nor working)
24th Jul, 2015, 04:57 AM
Post: #1
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
SSH version used by Kodi/XBMC (SFTP nor working)
Hey everyone,
I'm trying to connect my server to Kodi (using xbian) using SFTP. But I can't connect. I only can connect with HTTPS. But because of the character limit, I want to use SFTP.

I read somewhere that it's not working correctly, because Kodi is build with an older SSH version, and therefor the handshake doesn't work correct.

On the server:
Code:
ssh -V : OpenSSH_6.8p1, OpenSSL 1.0.1p 9 Jul 2015
openssl version : OpenSSL 1.0.1p 9 Jul 2015

On my raspberry pi running xbian (Kodi 14.2 Git:Unknown (Compiled: May 7 2015))
Code:
ssh -V : OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013
openssl version : OpenSSL 1.0.1e 11 Feb 2013

Can someone clarify this, please? And does there is a workaround to solve this problem? Is it a good idea to upgrade OpenSSH manually?

Thanks for any help.
Find all posts by this user
Quote this message in a reply
24th Jul, 2015, 05:59 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: SSH version used by Kodi/XBMC (SFTP nor working)
I can just connect using SFTP with WinSCP.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
24th Jul, 2015, 06:19 PM
Post: #3
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
RE: SSH version used by Kodi/XBMC (SFTP nor working)
(24th Jul, 2015 05:59 AM)CurlyMo Wrote:  I can just connect using SFTP with WinSCP.
I also have no problems to connect to xbian using SFTP with FileZilla.

My problem is that I want to use SFTP inside Kodi (Videos > Files > Add Videos > Browse > Add network location > Protocol: Secure shell (SSH/SFTP)).

Here is the corresponding lines from kodi.log:
Code:
08:19:53 T:2884342800   ERROR: SFTPSession: Failed to connect 'kex error : did not find one of algos diffie-hellman-group1-sha1 in list curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 for kex algos'
08:19:53 T:2884342800   ERROR: SFTPSession: Not connected, can't list directory '/home/xxxxxxx/files/'
08:19:53 T:3034685440   ERROR: GetDirectory - Error getting sftp://USERNAME:PASSWORD@xxxxxxx.whatbox.ca:22//home/xxxxxxx/files/
08:19:53 T:3034685440   ERROR: CGUIMediaWindow::GetDirectory(sftp://USERNAME:PASSWORD@xxxxxxx.whatbox.ca:22//home/xxxxxxx/files/) failed

On IRC of whatbox, they said it's a problem with the older version of SSH in Kodi/XBMC. But I'm not sure how to proceed and upgrade that one.
Find all posts by this user
Quote this message in a reply
24th Jul, 2015, 06:54 PM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: SSH version used by Kodi/XBMC (SFTP nor working)
Can you post this on github?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
24th Jul, 2015, 07:26 PM
Post: #5
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
RE: SSH version used by Kodi/XBMC (SFTP nor working)
(24th Jul, 2015 06:54 PM)CurlyMo Wrote:  Can you post this on github?
I hope you meant that I should open an issue on github.
Here is it: https://github.com/xbianonpi/xbian/issues/751
Find all posts by this user
Quote this message in a reply
24th Jul, 2015, 09:03 PM
Post: #6
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: SSH version used by Kodi/XBMC (SFTP nor working)
Our developers will eventually look into it.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
18th Aug, 2015, 02:14 AM
Post: #7
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
RE: SSH version used by Kodi/XBMC (SFTP nor working)
No news so far. But what I know is that the system wide installed version of openssh can connect to the server using SFTP from the command line.

But within XBMC it's not working. Does someone knows if they use a different approach inside XBMC?
Find all posts by this user
Quote this message in a reply
20th Aug, 2015, 11:02 PM
Post: #8
psyLord Offline
Registered
Posts: 22
Joined: Aug 2014
Reputation: 0
RE: SSH version used by Kodi/XBMC (SFTP nor working)
Here is a workaround if someone has a similar problem:

Install the package sshfs and mount the remote host in a folder. Then you can add this folder in Kodi/XBMC.

I followed this guide: http://mitchtech.net/dropbox-on-raspberry-pi-via-sshfs/
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 04:41 AM Powered By MyBB, © 2002-2025 MyBB Group.