Created attachment 1413 [details] Better name resolution error. Attached is a patch for building OpenSSH 4.7p1 on Mac OS X. This patch improves the generic "System error" message when hostname resolution fails.
Created attachment 1423 [details] Add helper function to handle EAI_SYSTEM There's several other places where EAI_SYSTEM is not handled. This patch adds a helper function for this and uses that for consistent handling. The patch has been committed and will be 4.8. The text of the message has not been changed, though.
Patch #1423 has been committed and will be in 4.8. Thanks for the report.
Fix shipped in 4.9/4.9p1 release.