Title : Mounting remote samba share through SSH tunnel
Author: Solène
Date : 04 May 2018
Tags : unix
If for some reason you need to access a Samba share outside of the
network, it is possible to access it through ssh and mount the share
on your local computer.
Using the ssh command as root is required because you will bind local
port 139 which is reserved for root:
# ssh -L 139: user@remote-server -N
Then you can mount the share as usual but using `localhost` instead of
Example of a mount element for `usmb`
As a reminder, `` is a XML comment.