jemnotesversion 2 / featuring this entry or see all/search

Sep 2
Leopard irritatingly prevents you from creating an ssh tunnel to another computer and then connecting a samba share to your localhost. Get around this by first creating an alias for your localhost interface:
sudo ifconfig lo0 alias 127.0.0.2 up
Then, forward the ports via ssh, eg with
sudo ssh -N -L 127.0.0.2:139:localhost:139 -L 127.0.0.2:445:localhost:445 user@server.com
Finally, connect using Finder to smb://127.0.0.2/sharename.