If I turn on my OSX firewall, ssh is disallowed. If I turn it off, ssh can connect just fine. These are the settings from the ssh host: while I don't know what I'm doing, I figured that giving /usr/sbin/sshd "Allow Incoming Connections" (along with "Remote Login (SSH)") would be enough, but it's not. What else do I have to include for ssh (sshd? not sure) to allow connections?

The firewall configuration screen on OSX

I'm configuring ssh exclusively through the sharing menu, "Remote Login" in the System Preferences.

link|improve this question

74% accept rate
As stated here (discussions.apple.com/thread.jspa?threadID=2174585), deleting sshd-keygen-wrapper, rebooting and saying yes to ssh-keygen-wrapper (though it was already set to yes) seems to work. – Yar Apr 2 '11 at 20:27
feedback

1 Answer

I've seen this too - It seems that the OSX Application Firewall is getting confused. I managed to get mine going by doing the following:

sudo rm /Library/Preferences/com.apple.alf.plist

Then reboot.

Once the machine comes back up when you go to the Firewall advanced settings you should only see the system services you have enabled (e.g. SSH and Screen Sharing in your case). The rest of the entries will have gone, but when you start any applications that need access through the firewall OSX will ask you to permit the application or not again and should then be added back to the firewall exceptions list (if you allow it incoming connections).

link|improve this answer
Thanks, check my comment on the question too – Yar Jan 16 at 19:11
feedback

Your Answer

 
or
required, but never shown

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