Forward SMB via SSH tunnel

Created: — modified: — tags: bash windows linux

When SSH is your poor man's VPN

Imagine that you need to access a Windows share from your Windows machine and you have a Linux box to help you. Then you just need to forward port 445 from remote. But there are few caveats.