mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#sshfs

1 post1 participant0 posts today
Rachel Rawlings<p>Is anyone else disappointed that <a href="https://mastodon.social/tags/Tails" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tails</span></a> <a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> removed <a href="https://mastodon.social/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> based on one maintainer's whim (in a tertiary release, with less than two weeks discussion) and still hasn't restored it?</p><p>"Presumably it's only useful for a few tech-savvy users, who'll be able to install it themselves." -- &lt;shout&gt; Not on an ISO liveboot VM where amnesia can't use sudo! &lt;/shout&gt;</p>
CryptGoat<p>Gibt es eigentlich generelle Bedenken bzgl. <a href="https://fedifreu.de/tags/SSHFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHFS</span></a>? Ist ja schließlich nun seit ein paar Jahren ohne Miantainer, wird aber noch viel eingesetzt, z.B. durch <a href="https://fedifreu.de/tags/KDEConnect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KDEConnect</span></a>. 🤔 👀 </p><p><a href="https://fedifreu.de/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a></p>
Multi Purr Puss :verified:<p><span class="h-card" translate="no"><a href="https://frontrange.co/@raineer" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>raineer</span></a></span> htop indicates a single-threaded load - that might be it.</p><p>SSH might use a single-threaded cipher, which would make sense for a single "serial" connection.</p><p>context: i'm still reluctant to set up samba. Even more context; i'm trying to optimise <a href="https://layer8.space/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a>, but i might be hitting the crypto barrier.</p>
Multi Purr Puss :verified:<p>I'm using <a href="https://layer8.space/tags/SSHFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHFS</span></a> via fstab, in <a href="https://layer8.space/tags/KDE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KDE</span></a> / <a href="https://layer8.space/tags/KDEneon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KDEneon</span></a>. Every time Dolphin touches the trash:/ on sshfs Dr. Konqi generates a kioworker crash report.</p><p>Perhaps i need better mount options?</p><p>sshfs#user@host.lan:/path/ /mnt/point/ fuse defaults,noauto,user,cache=no 0 0</p><p>edit: adding _netdev doesn't help, and Compression=yes slows things to a USB2 kind of crawl</p><p>(It works good enough, so i'm not doing things wrong enough. I won't be setting up samba.)</p>
Marcus Adams<p>Today I learned you can use <a href="https://mastodon.social/tags/SSHFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHFS</span></a> to auto mount a directory over SFTP such that it appears like a local directory to desktop userland applications. I've noticed that some applications don't like letting you save files directly to GVFS or other locations for network folders mounted by the user, but SSHFS just uses SFTP and can run at boot via fstab to make a network mount look like a local folder. Very handy for sharing folders with VMs in a transparent manner.</p><p><a href="https://mastodon.social/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a></p>
Multi Purr Puss :verified:<p>Today, for the 1st time, i've transferred files onto the <a href="https://layer8.space/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://layer8.space/tags/NAS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NAS</span></a> / <a href="https://layer8.space/tags/HomeServer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeServer</span></a> at over 700MB/s (in htop)! 🤩</p><p>Source: Ryzen 7840HS, RAM-cached(?), Samsung 990 Pro 2TB NVMe, with LUKS</p><p>Target: i5-7500, spinning <a href="https://layer8.space/tags/ZFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZFS</span></a> mirror, 2x SATA Toshiba MG09, consumer grade NVMe SLOG mirror, ZVOL with LUKS</p><p>Via: <a href="https://layer8.space/tags/SSHFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHFS</span></a> over 10gig ConnectX-3, SFP+ DAC, cheap Chinese Realtek switch, one of the CX3 runs via an ASMedia ASM2464PD <a href="https://layer8.space/tags/Thunderbolt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Thunderbolt</span></a> / <a href="https://layer8.space/tags/USB4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>USB4</span></a> bridge.</p><p>I'm pretty chuffed with the <a href="https://layer8.space/tags/crypto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crypto</span></a> throughput. 🤓</p>
menschenfreund<p>I'll skip the rant and just tell you the result: I am looking into alternatives for <a href="https://hessen.social/tags/Nextcloud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nextcloud</span></a>. All I really need is access to files on a homeserver from <a href="https://hessen.social/tags/GrapheneOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GrapheneOS</span></a>. I have not yet found an <a href="https://hessen.social/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> client that works for me, so now I'll try <a href="https://hessen.social/tags/DAVx5" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DAVx5</span></a> with the <a href="https://hessen.social/tags/WebDAV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDAV</span></a> module of <a href="https://hessen.social/tags/nginx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nginx</span></a> ...</p>
thedæmonOne window goes to my server and the other goes to my desktop: Guess which is which?<br><br>It's nice to be able to remote into my FreeBSD boxes from 9front, as well as mounting the file system with sshfs(4). Screenshot taken in Windows 11 of a Drawterm session to 9front with ssh sessions to two separate FreeBSD servers.<br><br><a href="https://snac.9front.club?t=9front" class="mention hashtag" rel="nofollow noopener" target="_blank">#9front</a> <a href="https://snac.9front.club?t=freebsd" class="mention hashtag" rel="nofollow noopener" target="_blank">#FreeBSD</a> <a href="https://snac.9front.club?t=vt" class="mention hashtag" rel="nofollow noopener" target="_blank">#vt</a> <a href="https://snac.9front.club?t=sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#sshfs</a> <a href="https://snac.9front.club?t=ssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#ssh</a><br>
argv minus one<p><span class="h-card"><a href="https://toot.kottman.xyz/@michal" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>michal</span></a></span> </p><p>One neat thing about <a href="https://mastodon.sdf.org/tags/Syncthing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Syncthing</span></a> vs <a href="https://mastodon.sdf.org/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a>: with Syncthing you can limit which device is allowed to sync which folders. Useful if you need to sync a folder with a device you don't entirely trust.</p>
Giacomo TesioFurther down this rabbit hole.<br>Sorry for the noise, but the more I go deeper, the worse it looks like, and I need to vent to people who might understand.<br><br>The <a href="https://snac.tesio.it?t=sftp" class="mention hashtag" rel="nofollow noopener" target="_blank">#SFTP</a> <a href="https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-02#section-7" rel="nofollow noopener" target="_blank">specification version 3, section 7</a> actually provides the number of links of each file the "longname" of the SSH_FXP_NAME response:<br><br><pre>The SSH_FXP_NAME response has the following format:<br><br> uint32 id<br> uint32 count<br> repeats count times:<br> string filename<br> string longname<br> ATTRS attrs<br>[...]<br>`longname' is an expanded format for the file name, similar to what<br>is returned by "ls -l" on Unix systems<br>[...]<br>The format of the `longname' field is unspecified by this protocol.<br>It MUST be suitable for use in the output of a directory listing<br>command (in fact, the recommended operation for a directory listing<br>command is to simply display this data).<br></pre>So far so good: we should have the info we need (at least from unix servers) despite in an unfortunate textual format.<br><br>The specification also states that such long name MUST not be parsed and clients should rely on the binary attributes that follow, except that the same specification forgot to include st_nlink (maybe because not all operating system supports such info).<br><br>However let assume that we ignore that argument and patch sshfs to read and parse such text just to provide the proper st_nlink.<br><br>Will <a href="https://snac.tesio.it?t=openssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#OpenSSH</a> properly implement the specification?<br><br>NO! It doesn't! 😭<br><br>Let's give it a try:<br><br><pre>sftp&gt; cd test<br>sftp&gt; ls -l<br>-rw-r--r-- 2 tesio users 0 Mar 26 20:34 copy<br>-rw-r--r-- 2 tesio users 0 Mar 26 20:34 file<br>sftp&gt; ls -l *<br>-rw-r--r-- ? 115209 100 0 Mar 26 21:34 copy<br>-rw-r--r-- ? 115209 100 0 Mar 26 21:34 file<br></pre>It turns out that the sftp-server from OpenSSH handles <code>ls -l</code> differently when it is received <a href="https://github.com/openssh/openssh-portable/blob/master/sftp.c#L1673-L1676" rel="nofollow noopener" target="_blank">without any argument</a> or <a href="https://github.com/openssh/openssh-portable/blob/master/sftp.c#L1679-L1684" rel="nofollow noopener" target="_blank">with an argument</a>.<br><br>In the first case (no argument) the request comply to the specification.<br>In the second, it does not, apparently for no reason (the <code>ls_file</code> function <a href="https://github.com/openssh/openssh-portable/blob/master/sftp-common.c#L216-L241" rel="nofollow noopener" target="_blank">receives remote = 1</a>).<br><br>So to properly fill <code>st_nlink</code> in <a href="https://snac.tesio.it?t=sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#sshfs</a>, for any file we should sent an additional SSH_FXP_READDIR request to the server <b>for the parent directory</b>, find our file of interest within the list of files and extract the number of links from its longname.<br><br>And we are talking about OpenSSH!<br><br>Guys... I wanna cry.<br><br>CC: <span class="h-card"><a href="https://fedi.dreamscape.link/rozenglass" class="u-url mention" rel="nofollow noopener" target="_blank">@rozenglass@fedi.dreamscape.link</a></span> <span class="h-card"><a href="https://comam.es/snac/grunfink" class="u-url mention" rel="nofollow noopener" target="_blank">@grunfink@comam.es</a></span> <span class="h-card"><a href="https://hj.9fs.net/khm" class="u-url mention" rel="nofollow noopener" target="_blank">@khm@hj.9fs.net</a></span> <span class="h-card"><a href="https://labyrinth.zone/users/Velveteen" class="u-url mention" rel="nofollow noopener" target="_blank">@Velveteen@labyrinth.zone</a></span><br>
Giacomo TesioWent a little down this rabbit hole and wrote an update to <a href="https://github.com/libfuse/sshfs/issues/109#issuecomment-2755824670" rel="nofollow noopener" target="_blank">that issue</a> and <a href="https://github.com/libfuse/sshfs/issues/62#issuecomment-2758051678" rel="nofollow noopener" target="_blank">the related one on st_nlink</a>.<br><br>The problem is not caused by <a href="https://snac.tesio.it?t=sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#sshfs</a> (or by the <a href="https://snac.tesio.it?t=fuse" class="mention hashtag" rel="nofollow noopener" target="_blank">#fuse</a> library), but by the <a href="https://snac.tesio.it?t=sftp" class="mention hashtag" rel="nofollow noopener" target="_blank">#SFTP</a> protocol itself that doesn't provide access to the underlying inode and provides access to the number of <a href="https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-06" rel="nofollow noopener" target="_blank">links only from version 06</a> while most server implementations (including <a href="https://snac.tesio.it?t=openssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#OpenSSH</a>) are <a href="https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-02" rel="nofollow noopener" target="_blank">based on version 02</a>.<br><br>Sad to see that in 2016 a developer contributed to OpenSSH a patch to provide such info as an extension attribute (a mechanism available at that protocol version) but the patch was not accepted (or, apparently, considered).<br><br>CC: <span class="h-card"><a href="https://comam.es/snac/grunfink" class="u-url mention" rel="nofollow noopener" target="_blank">@grunfink@comam.es</a></span> <span class="h-card"><a href="https://hj.9fs.net/khm" class="u-url mention" rel="nofollow noopener" target="_blank">@khm@hj.9fs.net</a></span> <span class="h-card"><a href="https://labyrinth.zone/users/Velveteen" class="u-url mention" rel="nofollow noopener" target="_blank">@Velveteen@labyrinth.zone</a></span><br>
Lorker<p>Irgendwie hat <a href="https://mastodon.kevga.de/tags/KDE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>KDE</span></a> Plasma / Dolphin bei mir gerade richtig probleme mit <a href="https://mastodon.kevga.de/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> . Keine Ahnung was das Problem sein soll...</p>
Carsten<p>On/Off-Skript zum Einbinden entfernter Server mit sshfs. Mit yad-Menü und optionaler systemd-Unterstützung.</p><p><a href="https://codeberg.org/CarstenHa/mntmysrvr" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/CarstenHa/mntmysr</span><span class="invisible">vr</span></a></p><p><a href="https://nrw.social/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a> <a href="https://nrw.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> <a href="https://nrw.social/tags/bash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bash</span></a> <a href="https://nrw.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://nrw.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://nrw.social/tags/ssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ssh</span></a> <a href="https://nrw.social/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> <a href="https://nrw.social/tags/mntmysrvr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mntmysrvr</span></a></p>
Just Dude<p>Ever wondered how to edit your code with VSCodium on your LAN (remote SSH)?<br>The alternative plugin does not work on a jail unfortunately or even on some installs....</p><p>The solution is to install sshfs and mount the repositories remote. The user and group permissions need to be set correctly.<br>But the manual helps doing that. Works very nicely!</p><p><a href="https://mastodon.bsd.cafe/tags/VSCodium" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCodium</span></a> <a href="https://mastodon.bsd.cafe/tags/SSHfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHfs</span></a> <a href="https://mastodon.bsd.cafe/tags/repository" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>repository</span></a></p>
cloud-nativeHow do I access a shared folder on a cloud-hosted Linux box from an Azure Container App Here’s ...<br><br><a href="https://stackoverflow.com/questions/79406645/how-do-i-access-a-shared-folder-on-a-cloud-hosted-linux-box-from-an-azure-contai" rel="nofollow noopener" target="_blank">https://stackoverflow.com/questions/79406645/how-do-i-access-a-shared-folder-on-a-cloud-hosted-linux-box-from-an-azure-contai</a><br><br><a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/azure-container-apps" target="_blank">#azure-container-apps</a> <a rel="nofollow noopener" class="mention hashtag" href="https://mastodon.social/tags/sshfs" target="_blank">#sshfs</a><br><br><a href="https://awakari.com/pub-msg.html?id=OXKhOxLVOgNCT3dXrCHtOZxVMS8" rel="nofollow noopener" target="_blank">Event Attributes</a>
matthew - retroedge.techIn my case, this is a large file 14GB and there's less than 20GB free space on the Digital Ocean droplet. I wanted to: <br><br>mysql database &lt; database-data.sql<br><br>but didn't have enough storage on the droplet for both the 14GB sql file and the same data once it was imported. <br><br>So mounting via sshfs was the first viable solution I thought of. Seems to be working as I wanted it to. the sshfs package is really light and in the standard Debian repo. <br><br><a class="hashtag" href="https://social.retroedge.tech/tag/sshfs" rel="nofollow noopener" target="_blank">#sshfs</a> <a class="hashtag" href="https://social.retroedge.tech/tag/debian" rel="nofollow noopener" target="_blank">#debian</a> <a class="hashtag" href="https://social.retroedge.tech/tag/sysadmin" rel="nofollow noopener" target="_blank">#sysadmin</a>
matthew - retroedge.techIn my case today, I am just using sshfs to mount a remote server on a VPS so that I can use a command that would be better to use with a file "local" to the file system instead of copying. <br><br>So far, it is working well. Big file import to mysql, which is not done yet. <br><br>I used sshfs a bit when it first came out nearly 20 years ago. It had a bunch of glitches and dropping then. Glad I thought of it for the problem today. <br><br>I do not know how it would work if it was always expected to be mounted. I'm sure network outages would kick it out and cause problems. <br><br><a class="hashtag" href="https://social.retroedge.tech/tag/ssh" rel="nofollow noopener" target="_blank">#ssh</a> <a class="hashtag" href="https://social.retroedge.tech/tag/sshfs" rel="nofollow noopener" target="_blank">#sshfs</a>
Chris<p>Why shouldn't I use <a href="https://fosstodon.org/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> for sharing my Mini-NAS drive to my network machines? Should I jump thru all the hoops and setup <a href="https://fosstodon.org/tags/Samba" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Samba</span></a> (yes there is a windows machine in the mix, albiet WinP11Pro so could use <a href="https://fosstodon.org/tags/NFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NFS</span></a>) but I have sshfs-win <a href="https://www.winfsp.dev" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">winfsp.dev</span><span class="invisible"></span></a> installed already 😅</p><p>Setting up NFS would be a good thing to learn though 🤔</p>
Veronica Olsen 🏳️‍🌈🇳🇴🌻<p>Anyone have any experience with SSH crashing when Plex accesses a share via SSHFS? I've set it up with auto mount now, so it fixes itself when I restart the episode, but it's interfering with my lazy days watching Stargate SG-1. 😁 </p><p>I guess I could try to set it up with something else, but I stream a lot of data back and forth from my PC to the Synology NAS, and it's never been a problem except for when using Plex.</p><p><a href="https://mastodon.online/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.online/tags/Synology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Synology</span></a> <a href="https://mastodon.online/tags/NAS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NAS</span></a> <a href="https://mastodon.online/tags/SSH" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSH</span></a> <a href="https://mastodon.online/tags/SSHFS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSHFS</span></a> <a href="https://mastodon.online/tags/Plex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Plex</span></a></p>
Multi Purr Puss :verified:<p>🧵 1/n<br>finally benchmarking the battery life of my <a href="https://layer8.space/tags/Lenovo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lenovo</span></a> <a href="https://layer8.space/tags/IdeaPad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IdeaPad</span></a> Miix 510-12IKB + the <a href="https://layer8.space/tags/Sandberg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sandberg</span></a> 420-75 USB-C PD <a href="https://layer8.space/tags/powerbank" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>powerbank</span></a>. 🍻 This photo was taken at ~8 hours of runtime. (👀 see also pic alt text)</p><p>Setup:<br>👉 tablet and powerbank was fully charged<br>👉 100% display brightness, muted audio<br>👉 1080p/&lt;10mbps HEVC playing looped in VLC<br>👉 via iAX210, Wi-Fi 5/5gig AP, <a href="https://layer8.space/tags/sshfs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sshfs</span></a> for Windows<br>👉 "default AC plugged in" power profile</p><p>Currently: tablet still fully charged, powerbank at 22%, duration is 8:25 hours</p>