From 7ff0ef64a789778ad904d4593ec78be54bcbda61 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 20 Jan 2024 22:38:53 +0800 Subject: [PATCH] update4 Signed-off-by: Bo-Yi Wu --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ddf65d4..339adf0 100644 --- a/Makefile +++ b/Makefile @@ -117,8 +117,9 @@ 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 - cp -r tests/ipv6.conf /etc/ssh/sshd_config.d/ipv6.conf - /usr/sbin/sshd -t + sed -i 's/^#ListenAddress 0.0.0.0/ListenAddress 0.0.0.0/g' /etc/ssh/sshd_config + sed -i 's/^#ListenAddress ::/ListenAddress ::/g' /etc/ssh/sshd_config + # cp -r tests/ipv6.conf /etc/ssh/sshd_config.d/ipv6.conf ./tests/entrypoint.sh /usr/sbin/sshd -D & coverage: