Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running an OS X 10.5.8 server. When my users ssh into it, it can take up to about 10 seconds before they see a prompt.

I've turned on debug for ssh and see it's pausing at the "Entering interactive session", looking at the server at this point, the "launchctl" process is running for the user that just logged in.

So, can I track this down further as to why launchctl is taking about 10 seconds to start up before the ssh prompt comes back? I'm assuming it's trying to start up per-user launch daemons and agents?

Is it a known problem that launchctl is so slow? (This is especially irritating because we use the "git" scm tool over ssh!) Is there anything I can do to speed it up?

Thanks for any help or advice.

Cheers, Steve

share|improve this question

You might want to check this page, where it is explained which settings to change in the SSH configuration files to make SSH on OS X faster:

Hope this helps!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.