Comment 42 for bug 1968873

Revision history for this message
Thomas Bechtold (toabctl) wrote :

Verified that it works, so no config changed and I also verified that LP:#2049860 didn't got introduced. I did:

- test image build for EC2
- launching a instance with user-data to set password authentication: "aws ec2 run-instances --image-id ami-0f67fe42026e81daa --instance-type m6a.large --key-name toabctl --user-data file:///home/tom/tmp/cloud-config --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=toabctl-focal-sru-validation}]'"
- login with password: ssh -o PubkeyAuthentication=no ubuntu@3.72.254.144

Ordering looks good now:

# ls -al /etc/ssh/sshd_config.d/
total 16
drwxr-xr-x 2 root root 4096 Feb 1 14:23 .
drwxr-xr-x 4 root root 4096 Feb 1 14:23 ..
-rw------- 1 root root 27 Feb 1 14:23 50-cloud-init.conf
-rw-r--r-- 1 root root 26 Feb 1 13:44 60-cloudimg-settings.conf

# sshd -T|grep passwordauth
passwordauthentication yes

# also the config didn't change:
# ucfq openssh-server
Configuration file Package Exists Changed
/etc/ssh/sshd_config openssh-server Yes No