Yeah, the git repo for fuse notes that sshfs is orphaned:
The troubleshooting info that I’ve found related to the request failed error suggests looking at the ssh logs on the server side, and that it may be a configuration issue on the server side.
Fascinatingly my tumbleweeds were installed with nothing in /etc/ssh/sshd_config. Upon adding Subsystem sftp /usr/libexec/ssh/sftp-server
sshfs works. Thanks to you who chipped in.
Mine also have /usr/etc/ssh, but /etc/libssh/libssh_server.config only contain
# Parse OpenSSH configuration file for consistency
Include /etc/ssh/sshd_config
so mine haven’t been using /usr/etc/ssh/sshd_config. And my /etc/ssh/sshd_config had nothing. Likely a config bug back when i installed sometime in 2022…likely got fixed sometime since then.
No, it is not fixed as you see and it will not be fixed until someone reports it.
The default configuration file for OpenSSH was moved to /usr/etc, but libssh was not updated to include it. You need to open bug report against libssh.
Thank you, but usrmerge is something entirely different. This will be confusing to whoever reads this changelog in the future. There is no merging of /etc and /usr/etc.
Thanks for patching it. I commented on the SR and wonder if it’s right to replace the /usr/etc include with an /etc one - if I understand correctly, both paths should be included, to combine packaged configurations with administrative/custom ones.
However I’m not sure if libssh supports overrides.
I think I might have found something on this, though not a full solution. Apparently, in OpenSSH 9.0, the scp program uses SFTP protocol under the hood. If the destination system doesn’t have sftp-server installed (or available, for example, if it’s using dropbear), then there may be an additional option needed.
For example, on scp, you need to use -O to force the legacy behavior.
I wonder if something similar may be needed to get sshfs to work using the legacy behavior rather than trying to use sftp.