errors on getaddrinfo(): nodename nor servname provided, or not known

Peter Stuge peter at
Fri Oct 17 12:31:29 EST 2008

Jesse Armand wrote:
> It seems the only way to debug is by not detaching sshd into a
> daemon (-D) option.

What does your plist look like?

Chris Wilson wrote:
> If I remember correctly, launchd is listening on the port and
> handing over the connected socket to sshd, much like inetd.

It can, if it's told to do so. But that will not work for sshd.

Jim Knoble wrote:
> According to Apple, you *must* tell sshd not to detach.

Right, just like with supervise. No big deal, use -D.

> From <>:

Helpful page!

Jesse, note that there must be no Sockets key in your plist. Maybe
this is all you need:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
<plist version="1.0">


More information about the openssh-unix-dev mailing list