Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2024-01-20 22:33:15 +08:00
parent 25790a45c5
commit fac174d981
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -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:

2
tests/ipv6.conf Normal file
View File

@ -0,0 +1,2 @@
ListenAddress 0.0.0.0
ListenAddress ::