I have a Mac OS X machine (Mac mini running 10.5) with Remote Login enabled. I want to open the sshd port to the Internet to be able to login remotely.
For security reasons I want to disable remote logins using passwords, allowing only users with a valid public key to login.
What is the best way to set this up in Mac OS X?