problem setting socks proxy with SSH

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

  1. woomera macrumors member

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

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #2
    have you tried restarting the computer after you changed the port?
     
  3. woomera thread starter macrumors member

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

Share This Page