20061121

osx : change sshd service port

sudo perl -pi -e 's!^(ssh\s+) \d+/!$1 2200/!' /etc/services # changes it to port 2200

credit to the author.

2 comments:

  1. or you refer to this link, bro ?

    http://www.yak.net/fqa/400.html

    ReplyDelete
  2. Anonymous1:08 AM

    nice :)
    ;))

    ReplyDelete