Dietpi and sshfs

I looked for a simple way to exchange data between my laptop and dietpi … and found sshfs…
I installed it on my Dietpi tried a mount from my workstation.
It seems to work but milliseconds after connection I receive a disconnect message
(remote host has disconnected)

Is there anything to do,to establish a mount? Or → I do not insist in sshfs… what is the most easiest way to mount a folder from my dietpi on my laptop ??
Many thanks
Karl

If you already use SSH with OpenSSH you can simply use SFTP, or you want to stick to Dropbear you can install a standalone SFTP server.
See: https://dietpi.com/forum/t/sftp-server/3692

But if you want to mount a network share you would need to use NFS (if you Linux on your laptop) or SAMBA (for windows).

2 Likes

I’ using Linux Mint on my Laptops, just added this in /etc/fstab:

sshfs#root@192.168.0.10:/mnt/platte /home/thomas/DietPi93 fuse user,rw,_netdev 0 0

works perfect for me; just use your own IP and Path :wink: and ssh keys

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.