problem setting socks proxy with SSH

Discussion in 'macOS' started by woomera, Aug 28, 2010.

  1. woomera macrumors member

    Oct 23, 2009
    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 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?
  2. Intell macrumors P6


    Jan 24, 2010
    have you tried restarting the computer after you changed the port?
  3. woomera thread starter macrumors member

    Oct 23, 2009
    wow that was embarrassing, yeah i forgot that.
    one more question, how can i add this command to startup?

Share This Page