From fac174d9816603aeb14e63d3cc2d16db7040762c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 20 Jan 2024 22:33:15 +0800 Subject: [PATCH] update2 Signed-off-by: Bo-Yi Wu --- Makefile | 2 +- tests/ipv6.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 tests/ipv6.conf diff --git a/Makefile b/Makefile index 5dd8928..cd14fdc 100644 --- a/Makefile +++ b/Makefile @@ -117,7 +117,7 @@ ssh-server: rm -rf /etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_dsa_key sed -i 's/^#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config sed -i 's/AllowTcpForwarding no/AllowTcpForwarding yes/g' /etc/ssh/sshd_config - grep -Ri ListenAddress /etc/ssh/ + cp -r tests/ipv6.conf /etc/ssh/sshd_config.d/ipv6.conf ./tests/entrypoint.sh /usr/sbin/sshd -D & coverage: diff --git a/tests/ipv6.conf b/tests/ipv6.conf new file mode 100644 index 0000000..41c0be5 --- /dev/null +++ b/tests/ipv6.conf @@ -0,0 +1,2 @@ +ListenAddress 0.0.0.0 +ListenAddress ::