This seems to be related to how snapd autopkgtest modifies the sshd_config file.
t's unclear though why this works on some kernels but not on others.
Bad test: https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/arm64/s/snapd/20221003_171436_6321f@/log.gz
Good test: https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/arm64/s/snapd/20221004_094939_71bd2@/log.gz
This seems to be related to how snapd autopkgtest modifies the sshd_config file.
t's unclear though why this works on some kernels but not on others.
Bad test: https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- kinetic/ kinetic/ arm64/s/ snapd/20221003_ 171436_ 6321f@/ log.gz
Good test: https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- kinetic/ kinetic/ arm64/s/ snapd/20221004_ 094939_ 71bd2@/ log.gz