WSL: Failed to run sshd as service

I run sshd as a service on bash, but it always failed. Please see the failed log:

root@kylin:/tmp# sudo /etc/init.d/ssh start
 * Starting OpenBSD Secure Shell server sshd
sshd: ../sysdeps/posix/getaddrinfo.c:2603: getaddrinfo: Assertion `IN6_IS_ADDR_V4MAPPED (sin6->sin6_addr.s6_addr32)' fai
led.
Aborted (core dumped)
                                                                                                                 [fail]
root@kylin:/tmp#
  • Windows version

Windows 10 Enterprise Insider Preview 14965

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Reactions: 4
  • Comments: 16 (5 by maintainers)

Most upvoted comments

Same here (as Abhinickz) Version 1703 (OS Build 15063.138) Followed the Deen vid here https://channel9.msdn.com/Shows/Getting-Started-with-Bash-on-Windows-10-Anniversary-Update/learnlxss (13:40) - ssh config changes. No other changes besides that. nothing on netstat -a Turned off firewall on private net