Mac – How to change sshd listening port on Mac OS X


I want to change the default port for sshd daemon in Mac OS X 10.6

Changing the sshd_config file seems to be useless, I suppose becouse of sshd is started by launchd.

I'm looking for the real solution, not a workaround as google is full 🙂

Any suggestion?

Best Answer

Found the solution, after looking to launchd.plist man.

As pointed out by @alex, there is the same question on SF. I answered there.

Sorry for not having seen it on SF, but it seems to me that it is a SU related question. :)

Related Question