-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
In libfuse/sshfs@b3af91b the slave
mode was added to sshfs which basically allows sshfs to run without making an ssh connection and just accepting input from stdin and sending output to stdout. This means that you can run reverse sshfs mounts without having to authenticate back to the machine initiating the connection.
An example of using this is in the email the author sent to the list:
The attached patch implements a new mode of operation (slave mode) that
uses the stdin and stdout streams for comunication with the SFTP server.
That mode allows to mount a local file system through SSH into a remote
host as follows:
$ dpipe /usr/lib/openssh/sftp-server = \
ssh bar sshfs foo:/ /mnt/foo -o slave
And I am sure it can be (ab)used in several other ways :-)
Cheers,
- Salva
I have a working POC on this and am actively trying to get it polished and ready for merge.
Metadata
Metadata
Assignees
Labels
No labels