Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

woomera

macrumors member
Original poster
Oct 23, 2009
38
0
i have done the same thing in linux mint but i cant seem to do it in mac os 10.5.8.
-enabled Remote Login in preferences
-changed the ssh port to 2222
-in terminal when typed "ssh -p 2222 -N -D 0.0.0.0:1080 localhost"
or "ssh -p 2222 -D 1080 localhost" and some other variations
-i get an error "ssh: connect to host localhost port 2222: Connection refused"

tried disabling the firewall but didnt work.tried adding a rule for localhost to localhost any port to any but still nothing.

any reason why this happens?
 
wow that was embarrassing, yeah i forgot that.
one more question, how can i add this command to startup?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.