Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sshd fail because getaddrinfo #1113

Closed
hyec opened this issue Sep 22, 2016 · 6 comments
Closed

sshd fail because getaddrinfo #1113

hyec opened this issue Sep 22, 2016 · 6 comments

Comments

@hyec
Copy link

hyec commented Sep 22, 2016

  • A brief description
    sshd start fail, show a wrong of getaddrinfo
  • Expected results
    ssh servive start
  • Actual results (with terminal output if applicable)
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
 * Starting OpenBSD Secure Shell server sshd
sshd: ../sysdeps/posix/getaddrinfo.c:2583: getaddrinfo: Assertion `(__extension__ ({ const struct in6_addr *__a = (const struct in6_addr *) (sin6->sin6_addr.__in6_u.__u6_addr32); __a->__in6_u.__u6_addr32[0] == 0 && __a->__in6_u.__u6_addr32[1] == 0 && __a->__in6_u.__u6_addr32[2] == __bswap_32 (0xffff); }))' failed.
Aborted (core dumped)
   ...fail!
  • Your Windows build number
    14393.187
  • Steps / All commands required to reproduce the error from a brand new installation
    sudo service ssh start
  • Strace of the failing command
    logfile
  • Required packages and commands to install
    sshd
@fpqc
Copy link

fpqc commented Sep 22, 2016

You need to disable an option (UsePrivilegeSeparation) in the sshd_conf. This is a known issu (duplicate) related to un-implemented functionality. Please use the search interface in the issue tracker.

@hyec
Copy link
Author

hyec commented Sep 23, 2016

it‘s no use for me to disable UsePrivilegeSeparation. it still can't start.

@hyec
Copy link
Author

hyec commented Sep 23, 2016

i tried #614 (comment) also fail.

@fpqc
Copy link

fpqc commented Sep 23, 2016

Did you also switch off port 22?

@hyec
Copy link
Author

hyec commented Sep 23, 2016

i tried other ports, also useless.
dropbear shows the same wrong info

@hyec
Copy link
Author

hyec commented Sep 23, 2016

I uncomment ListenAddress 0.0.0.0 to make it bind to ipv4 address only, than it works.
but i have ipv6 address, why it doesn't work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants