Kodi Community Forum

Full Version: Can't add SFTP Video Source from Windows 7 on Kodi 17.3 Not Working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

I haven't been able to find an understandable answer to my issue. I have windows 7 installed. My back end, running ubuntu 14.04 LTS died and I lost everything so I started from scratch. Re-installed ubuntu 16.04 LTS and with SSH and it runs great. I can connect to it via putty or winSCP no problems. But when I try to add an SFTP source for viewing my content when I am away from home, I can't add SFTP source. It is strange because I could do this with my old machine running Ubuntu 14.04 LTS. I am trying to add the source from a windows 7 laptop.

It says it cannot log in. Here is the debug log section with my server details and password redacted.

Code:
19:10:07.671 T:8196    INFO: SFTPSession: Creating new session on host 'XXXX.XXXX.com:115'
19:10:08.099 T:8196   ERROR: SFTPSession: Server that was known has changed
19:10:08.099 T:8196   ERROR: SFTPSession: Host is not known 'Invalid argument in ssh_options_set'
19:10:08.099 T:8196   ERROR: SFTPSession: Not connected, can't list directory ''
19:10:08.100 T:5368   ERROR: XFILE::CDirectory::GetDirectory - Error getting sftp://USERNAME:[email protected]:115/
19:10:08.100 T:5368   ERROR: CGUIDialogFileBrowser::GetDirectory(sftp://USERNAME:[email protected]:115/) failed
19:10:14.086 T:5368   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
19:10:14.094 T:8196   ERROR: SFTPSession: Not connected, can't list directory ''
19:10:14.094 T:5368   ERROR: XFILE::CDirectory::GetDirectory - Error getting sftp://USERNAME:[email protected]:115/
19:10:14.094 T:5368   ERROR: CGUIDialogFileBrowser::GetDirectory(sftp://USERNAME:[email protected]:115/) failed
19:10:15.603 T:5368   DEBUG: CInputManager::ProcessMouse: trying mouse action rightclick

I know all of the fields are filled in correctly in KODI as I use them to login via winSCP and putty. Also of note is that my actual username and password are not displayed in the debug log. It shows "USERNAME" and "PASSWORD" through the whole debug log so I am not sure if that is a security feature built into kodi or if it is not saving my username and password correctly.

Any help would be appreciated!
Has your ssh server key changed?
Hi and thanks for the reply.

I would assume the ssh key changed with the new ubuntu install.

But my other programs just asked to update the key and then they worked. Kodi never asked me that. If I have to update the ssh key, how do I do that on my windows machine?