SFTP not working
#1
I want to connect to a computer in my house using SFTP. Unfortunately it doesn't work. I've tried on Fire TV and Mac and the result is the same:

07:50:46 T:1540636720 INFO: SFTPSession: Creating new session on host '10.0.1.19:22' with user 'kodi'
07:50:46 T:1540636720 ERROR: SFTPSession: Password present, but server does not support password authentication
07:50:46 T:1540636720 ERROR: SFTPSession: No authentication method successful
07:50:46 T:1540636720 ERROR: SFTPSession: Not connected, can't list directory 'Volumes/Data3/'
07:50:46 T:1485475896 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting sftp://USERNAME:[email protected]/Volumes/Data3/
07:50:46 T:1485475896 ERROR: CGUIMediaWindow::GetDirectory(sftp://USERNAME:[email protected]/Volumes/Data3/) failed

The server absolutely does support password authentication, I can log in just fine from a shell on my laptop.

On the server side, I see the following when Kodi attempts to connect:

Sep 2 08:03:27 frunobulax com.apple.xpc.launchd[1] (com.openssh.sshd.A7F4CEE4-B5C9-4684-B888-7949D44EBCC7): Service instances do not support events yet.
Sep 2 08:03:28 frunobulax l sshd[1881]: Received disconnect from 10.0.1.25: 11: Bye Bye [preauth]
Sep 2 08:03:28 frunobulax com.apple.xpc.launchd[1] (com.openssh.sshd.A7F4CEE4-B5C9-4684-B888-7949D44EBCC7[1881]): Service exited with abnormal code: 255

The server is an iMac with latest Mac OS X. Is there some sort of ssh config on the Mac I need to do make it compatible with Kodi?
Reply
#2
Works for me. Please double check your source and credentials.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
(2015-09-02, 17:15)mkortstiege Wrote: Works for me. Please double check your source and credentials.

I have triple, quadruple checked. Everything is correct.

Are you connecting to a Mac SSH server? I suspect there is something in the sshd config on the Mac that might need to be tweaked to be compatible with whatever Kodi is doing.
Reply
#4
Can't test right now. Let's wait for someone else to comment.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
SFTP not working0