Mounting remote samba share through SSH tunnel

NILIf 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:127.0.0.1:139 user@remote-server -N

Then you can mount the share as usual but using localhost instead of

Proxy Information
Original URL
gemini://perso.pw/blog//articles/samba-tunnel.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
132.626634 milliseconds
Gemini-to-HTML Time
0.185961 milliseconds

This content has been proxied by September (ba2dc).