A current limitation of sshfs is that it needs to create its own socket connections. This prevents attaching it to pipes or unix sockets, e.g. starting it on the target of an SSH connection ("reverse sshfs"). Have a patch that I will propose upstream to add a --directfd argument. So this bug should shortly morph into a request for either a version bump or a Gentoo-side patch. Opening it now in case someone has input. e.g. Communicating with stdin and stdout: $ sshfs -o directfd=0:1 none:/mnt/remote /shared/path Currently using this to push a directory from sftp-server on the initiating end of an ssh connection to a mountpoint on the target of an ssh connection. Avoids all the socket forwarding that would otherwise be required. Reproducible: Always
Created attachment 304655 [details] Proposed sshfs-fuse-2.4.ebuild This is a trivial copy of the existing sshfs-fuse-2.3.ebuild (Copyright year and keywords tweaked). Did not see anything in the sshfs-fuse changelog which would imply a need to change the dependencies. From the src_configure comment, that part may be obsolete in both 2.3 and 2.4 ebuilds.
Upstream sshfs-fuse has revved to 2.4, so there's a first shot at the ebuild (and switched to Component=Ebuilds). Quick list of added features from the ChangeLog: -o slave Route sftp communication over stdin and stdout -o idmap=file, -o uidmap=FILE, -o gidmap=FILE Local files used to remap all the give UIDs/GIDs. -o workground=fstat For SFTP servers which don't support the FSTAT message.
(In reply to comment #1) > Created attachment 304655 [details] > Proposed sshfs-fuse-2.4.ebuild > > This is a trivial copy of the existing sshfs-fuse-2.3.ebuild (Copyright year > and keywords tweaked). > > Did not see anything in the sshfs-fuse changelog which would imply a need to > change the dependencies. From the src_configure comment, that part may be > obsolete in both 2.3 and 2.4 ebuilds. If you don't change anything of note in an ebuild please don't attach it. Just say that a simple version bump is all that's needed. Thanks for upstreaming your patch.