Page 1 of 1

Where is the SSHFS package ?

Posted: Tue Jan 23, 2018 12:09 am
by bsdnilux
Hello,

I would need SSHFS to mount a ssh server to ~/sshfs

Any sshfs available for PI with Freebsd 12.0 for RPI3. ?

SSHFS is not available.

(I am using rpi 3 model b)

Re: Where is the SSHFS package ?

Posted: Tue Jan 23, 2018 1:18 am
by n67
Interestingly, I had always thought that the client side of SSHFS was Linux only, but it seems that is no longer the case. According to what I've read, it runs on (at least) Linux, BSD, and OSX (with the appropriate Fuse layer running on each platform). So, it should be possible to do what you want to do.

If it is not directly available in the FreeBSD repos, you may have to compile it yourself.

Re: Where is the SSHFS package ?

Posted: Tue Jan 23, 2018 10:12 am
by leo9641
Hello,

You can try to install fusefs-sshfs package:

Code: Select all

root@freebsd-pi:/usr/src # pkg search fusefs-sshfs
fusefs-sshfs-3.3.1             Mount remote directories over ssh

/boot/loader.conf (if you need mount sshfs from fstab):
fuse_load="YES"

/etc/fstab (FYI: noauto options):
user@remote.hostname:/data/snap /snap fusefs.sshfs rw,noauto,mountprog=/usr/local/bin/sshfs,late,uid=1000,gid=1000,reconnect,StrictHostKeyChecking=no,IdentityFile=/home/snap/.ssh/id_rsa,allow_other 0 0