# Dietpi and sshfs

**URL:** <https://dietpi.com/forum/t/dietpi-and-sshfs/18928>\
**Category:** General Discussion\
**Tags:** external-server\
**Created:** [11 January 2024 10:13 UTC](https://dietpi.com/forum/t/dietpi-and-sshfs/18928 "2024-01-11T10:13:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarlExler](https://dietpi.com/forum/user_avatar/dietpi.com/karlexler/32/5163_2.png) [@KarlExler](https://dietpi.com/forum/u/KarlExler)\
**Post date:** [11 January 2024 10:13 UTC](https://dietpi.com/forum/t/dietpi-and-sshfs/18928/1 "2024-01-11T10:13:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [11 January 2024 12:08 UTC](https://dietpi.com/forum/t/dietpi-and-sshfs/18928/2 "2024-01-11T12:08:47Z")

</div>

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](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).

---

<div class="post-metadata">

**Author:** ![dietgerhard](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/d07c76/32.png) [@dietgerhard](https://dietpi.com/forum/u/dietgerhard)\
**Post date:** [12 January 2024 13:01 UTC](https://dietpi.com/forum/t/dietpi-and-sshfs/18928/3 "2024-01-12T13:01:06Z")

</div>

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 😉 and ssh keys

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [11 April 2024 13:01 UTC](https://dietpi.com/forum/t/dietpi-and-sshfs/18928/4 "2024-04-11T13:01:21Z")

</div>

Closed on 11 April 2024 13:01 UTC

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