Skip to content

Commit a52fd26

Browse files
committed
fix(test): generate RSA SSH key in docker-popular build
The SSH connection options require RSA keys (PubkeyAcceptedAlgorithms=rsa-sha2-512), but build_rootfs.sh was using the default key type (ED25519 on modern OpenSSH). This mismatch caused SSH authentication failures in the docker-popular pipeline. Align with setup-ci-artifacts.sh by explicitly generating RSA-2048 keys. Signed-off-by: Riccardo Mancini <mancio@amazon.com>
1 parent 01f90a8 commit a52fd26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/test-popular-containers/build_rootfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ IMAGES=(amazonlinux:2023 alpine:latest ubuntu:22.04 ubuntu:24.04 ubuntu:25.04 ub
2222

2323
# Generate SSH key for access from host
2424
if [ ! -s id_rsa ]; then
25-
ssh-keygen -f id_rsa -N ""
25+
ssh-keygen -t rsa -b 2048 -f id_rsa -N ""
2626
fi
2727

2828
# install rootfs dependencies

0 commit comments

Comments
 (0)