From b99e15a683eadbe6d4a6d2496ebf1146bc8c4518 Mon Sep 17 00:00:00 2001 From: Andrew Radamis Date: Fri, 5 Jun 2026 11:36:58 -0500 Subject: [PATCH] Update sshd options: AddressFamily=any --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b6e3073..4ceaa1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ ENV USERNAME="root" ENV PASSWORD="root" ENTRYPOINT ["sh", "-c"] -CMD ["echo ${USERNAME}:${PASSWORD} | chpasswd && /usr/sbin/sshd -D -o PermitRootLogin=yes -o AddressFamily=inet -o GatewayPorts=yes -o AllowAgentForwarding=yes -o AllowTcpForwarding=yes -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostkeyAlgorithms=+ssh-rsa"] +CMD ["echo ${USERNAME}:${PASSWORD} | chpasswd && /usr/sbin/sshd -D -o PermitRootLogin=yes -o AddressFamily=any -o GatewayPorts=yes -o AllowAgentForwarding=yes -o AllowTcpForwarding=yes -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostkeyAlgorithms=+ssh-rsa"]