Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

sshd does not start on boot

I have an older 10.6 server with 2 static IP addresses, one public IP and one private IP. I have disabled ssh on the public IP and enabled it to list only on the private IP. It works, but the service doesn't seem to start propery with launchctl on boot, but it does start.


If I boot the server up, I cannot ssh into it at all. I have to stop sshd with launchctl, then start it again for it to work correctly. It seems that sshd is starting on boot, but doesn't accept any connections. Why won't ssh accept connections after reboot until I restart the service?


Here is the plist I am currently using:


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Label</key>

<string>com.openssh.sshd</string>

<key>Program</key>

<string>/usr/libexec/sshd-keygen-wrapper</string>

<key>ProgramArguments</key>

<array>

<string>/usr/sbin/sshd</string>

<string>-i</string>

</array>

<key>SHAuthorizationRight</key>

<string>system.preferences</string>

<key>Sockets</key>

<dict>

<key>Listeners</key>

<dict>

<key>SockNodeName</key>

<string>172.16.11.1</string>

<key>SockServiceName</key>

<string>ssh</string>

<key>Bonjour</key>

<array>

<string>ssh</string>

<string>sftp-ssh</string>

</array>

<key>SockServiceName</key>

<string>ssh</string>

</dict>

</dict>

<key>StandardErrorPath</key>

<string>/dev/null</string>

<key>inetdCompatibility</key>

<dict>

<key>Wait</key>

<false/>

</dict>

</dict>

</plist>

Mac OS X (10.6.8)

Posted on Aug 14, 2015 1:11 PM

Reply

There are no replies.

sshd does not start on boot

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.