I have an Asus DSL-AC68U router. I can easily ssh to it:
After having configured the proper options in .ssh/config:
Host router Hostname ddnshostname User myuser KexAlgorithms +diffie-hellman-group1-sha1
In short, I already can access the router via SSH and FTP but I'd like the security and ease of use of SSHFS (or similar!). However, I seem not to be able to mount stuff with SSHFS:
$ sshfs -o sshfs_debug router:/tmp/home/root/ testmount/ -d  SSHFS version 2.6 FUSE library version: 2.9.5 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-2> <casatrieste> <-s> <sftp> sh: /opt/libexec/sftp-server: not found remote host has disconnected
I found out this is because sftp-server in my router seems to be displaced or missing. However, I cannot find neither sftp_server nor ssh_config anywhere in the router using
find / | grep ssh_config.
It seems like I'm missing the
sftp-server package completely. Is there any other way to allow me to use SSHFS? I can already access the router via ftp, but I'd like to mount the file system remotely.
How can I mount SSHFS folders from this router remotely?