On 2011-05-04 13:31, Miklos Szeredi wrote:
>> Is it possible to make some port forwardings (ssh -L) on the same SSH
>> connection that SSHFS uses?
> You can write a script and invoke it with "-ossh_command=..." option.
Yes, but that's quite tricky since sshfs adds -oClearAllForwardings=yes
to the command line. So the script can't only add -L, it needs to filter
out -oClearAllForwardings=yes as well.
It would be nice if there was an option to sshfs to not add
-oClearAllForwardings=yes. It is reasonable to add it by default though.