Open unclechu opened 7 months ago
It might be that the path to the sftp-server executable is not found because it may be running outside of proot.. Not sure how to debug that though but the arch wiki says that this error message happens when the sftp-server executable is not valid: https://wiki.archlinux.org/title/SSHFS#Remote_host_has_disconnected
@Gerschtli I’ve also tried internal-sftp
, it makes no difference.
Also I don’t think it should run outside proot since I run run-sshd
from inside of the Nix-on-Droid shell?
Looks like a proot problem https://github.com/proot-me/proot/issues/243
Looks like a proot problem https://github.com/proot-me/proot/issues/243
A patched sftp-server, as a workaround, can mitigate the problem. See https://github.com/proot-me/proot/issues/243#issuecomment-1962738694
How could I setup SFTP in order to make sshfs work? I made a simple script to start an SSHD server:
The regular ssh works fine but if I try to mount via sshfs I get an error like “Connection closed by the user". Here is the end of the log of
sshfs
call: