openssh question

Rainer Müller raimue at macports.org
Wed Jan 18 07:50:07 PST 2012


On 2012-01-18 16:28 , Brad Allison wrote:
> How do you start openssh that's provided via macports.

Daemons are usually started using launchd on Mac OS X. For openssh, this
uses the plist file located at
/etc/LaunchDaemons/org.macports.OpenSSH.plist. The wrapper scripts
listed there also take care of generating the necessary host keys.

The port command has a thin wrapper around launchctl to make this easier:

 sudo port load openssh
 sudo port unload openssh

Just curious, why don't you use the builtin sshd of Mac OS X?

Rainer


More information about the macports-users mailing list