Phillip Pearson - Second p0st

tech notes and web hackery from the guy that brought you bzero, python community server, the blogging ecosystem, the new zealand coffee review and the internet topic exchange

2003-5-15

Mac OS X SSH configuration

At work we're trying to find an embedded processor that's fast enough for an app we've been working on for a while, and my current task is to get an old G3 iMac (400 MHz) to run it.

I finally figured out how to get SSH running. All you need to do is edit /etc/hostconfig and change:

SSHSERVER=-NO-

to:

SSHSERVER=-YES-

Now you can start the service with:

sudo /System/Library/StartupItems/SSH/SSH

It should also come up on boot. I spent ages messing around generating host keys etc before finding that directory!

Also, to free lots of memory (and bring your Mac down to the level of a fresh BSD install):

killall nfsiod cupsd lookupd DirectoryService SecurityServer ATSServer coreservicesd automount crashreporterd mDNSResponder

Don't kill netinfod though or you won't be able to log in!
... more like this: []