You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
This commit converts the plugin to default to use sshfs in slave mode [1]
by default. Now the plugin will launch sftp-server on the host machine
and sshfs inside of the guest and wire them together over a host->guest
ssh connection. This means that we no longer have to figure out how to
connect back to the host, authenticate with the host, or even have an ssh
daemon running on the host at all. This greatly simplifies the users life.
For cases where the user was actually connecting to a third party
machine (i.e. not connecting back to the vagrant host) a user can
still do this by specifying :ssh_host in the synced folder options.
Closes#11
[1] libfuse/sshfs@b3af91b
This commit converts the plugin to default to use sshfs in slave mode [1]
by default. Now the plugin will launch sftp-server on the host machine
and sshfs inside of the guest and wire them together over a host->guest
ssh connection. This means that we no longer have to figure out how to
connect back to the host, authenticate with the host, or even have an ssh
daemon running on the host at all. This greatly simplifies the users life.
For cases where the user was actually connecting to a third party
machine (i.e. not connecting back to the vagrant host) a user can
still do this by specifying :ssh_host in the synced folder options.
Closes#11
[1] libfuse/sshfs@b3af91b
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:
I have a working POC on this and am actively trying to get it polished and ready for merge.
The text was updated successfully, but these errors were encountered: