random-archer / mkinitcpio-systemd-tool

Provisioning tool for systemd in initramfs (systemd-tool)
https://www.archlinux.org/packages/community/any/mkinitcpio-systemd-tool/
Other
112 stars 27 forks source link

calling busybox tcpsvd with :: to enable ipv6 for tinyssh #74

Closed 71rd closed 1 year ago

71rd commented 4 years ago

using :: instead of 0 in the host argument of tcpsvd allows tinyssh to listen for connections for ipv4 and ipv6 connections instead of only ipv4 connections

Andrei-Pozolotin commented 4 years ago

hi. did you actually test this on live systems?

71rd commented 4 years ago

i tested this on my desktop and can use ipv4 and v6 to ssh into it, but i haven't tried it on other devices yet, as i don't have another system at hand that could use this

Andrei-Pozolotin commented 4 years ago

can use ipv4 and v6 to ssh into it

you mean same/single config line with :: works for both ipv4 and ipv6?

caguiclajmg commented 3 years ago

I just hit this today, the -v 0 works fine for single-stack IPv4 and dual-stack machines, however it breaks on single-stack IPv6 machines as it only listens on 0.0.0.0. Changing it to -v :: fixes this.