Subject: Re: kernel option for "socket: Protocol not supported"
To: None <tech-kern@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 02/21/2006 20:32:43
On Tue, Feb 21, 2006 at 02:26:42PM -0500, George Georgalis wrote:
> # ssh root@localhost
> socket: Protocol not supported

This is nothing to worry about - only a stupid error message for a non-error.

If you use -v it will explain what's going on:

debug1: Connecting to localhost [::1] port 22.
socket: Protocol not supported
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.

So it is trying an IPv6 connection first, fails (no IPv6 in kernel) and
complains loud.

Then it tries IPv4 and succeeds, but stays quiet untill the key exchange
has happened.

Martin