Posts: 238
Joined: Jun 2012
Reputation:
3
Is it possible to mount sftp localy like i do for my nfs sources
Posts: 238
Joined: Jun 2012
Reputation:
3
yay before i have asked question on forum i have try that but i get
-sh: sshfs: not found
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Are you running libreelec? If so install network-tools from the libreelec repo and reboot.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 238
Joined: Jun 2012
Reputation:
3
I have enable it but still not working
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
So what exactly have you done and what are the results? "still not working" is particularly uninformative.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 238
Joined: Jun 2012
Reputation:
3
2017-08-14, 20:04
(This post was last modified: 2017-08-14, 20:06 by Doktor-X.)
OK sorry about that i was using my phone to write in this thread so did not used full description.
So after couple of reboots and reinstalls of network-tools addon i was able to make it working partially so at least sshfs is up and running but i'm unable to mount directory
i have used this command
sshfs root@hostname:22/path/to/folder /storage/mount
but i get error message
root@hostname:22/path/to/folder: No such file or directory
but this is not true this folder and files exists on server and i can access to them with let's say filezilla so i dont know what is problem
if i try to use sshfs command with password so
sshfs password:root@hostname:22/path/to/folder /storage/mount
i get error
read: Connection reset by peer
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
2017-08-14, 21:54
(This post was last modified: 2017-08-14, 21:58 by nickr.)
sshfs user@hostname:/path/to/folder /storage/mount -p port
If you want to log in without having to type a password, use keys
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 238
Joined: Jun 2012
Reputation:
3
2017-08-14, 23:06
(This post was last modified: 2017-08-14, 23:14 by Doktor-X.)
ok thanks i have success with that command but now i have another error
fuse: device not found, try 'modprobe fuse' first
edit; i have modify autostart.sh and added modprobe fuse and sshfs command and now on startup my storage is mounted
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
Excellent, glad you got it going.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 238
Joined: Jun 2012
Reputation:
3
2017-08-15, 09:05
(This post was last modified: 2017-08-15, 09:05 by Doktor-X.)
whole reason why i wanted to try directly mount is performance because if i used kodi implementation i was having buffering issues