-2
$ sudo service ssh --full-restart
 * Stopping OpenBSD Secure Shell server sshd  
                                                                        [ OK ]   
 * 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)

nul lun
  • 668
  • 6
  • 10

1 Answers1

3

You'll need to change a few things in the /etc/ssh/sshd_config file. Specifically,

UsePrivilegeSeparation No
PermitRootLogin Yes (only if your using root)
PasswordAuthentication yes

Privilege separation is probably the most important thing here. By default it's turned on and that causes OpenSSH to fail for some reason.

Can you try this command to restart the ssh service?

$ /etc/init.d/ssh restart

EDIT: You'll also want to add inbound rules to the Windows Firewall to allow the ports that you are using for Bash. Go to Windows Firewall, Advanced Security, click on "Inbound Rules" in the left pane and select "Action-> New Rule" in the menu above. Then create a rule allowing incoming TCP connections on the port you want.

rturrado
  • 125
Simon L
  • 46
  • 3