Address family not supported by protocol

Discussion in 'Linux Networking' started by Christian Christmann, Oct 5, 2006.

  1. Hi,

    when I execute 'ssh -l NAME localhost', my Debian
    system issues a warning:
    "socket: Address family not supported by protocol".
    ssh still works after that.

    Any ideas why this message occurs and how I could fix/avoid

    Christian Christmann, Oct 5, 2006
    1. Advertisements

  2. It's harmless. ssh first tries to connect over IPv6, which is
    apparantly not configured on you system.
    Maurice Janssen, Oct 6, 2006
    1. Advertisements

  3. Any ideas how to tell ssh to firstly connect to IPv4 and not to
    Christian Christmann, Oct 6, 2006
  4. Hello,

    Christian Christmann a écrit :
    'man ssh' says :
    -4 Forces ssh to use IPv4 addresses only
    Pascal Hambourg, Oct 6, 2006
  5. Christian Christmann

    Paul Black Guest

    In addition, the AddressFamily option in ssh_config should help.
    Paul Black, Oct 6, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.