Hi :
I hit the same problem at ct image debian11
sshd won't accept my change ssh port at sshd_config
after I edited sshd_config and restart sshd service I got new ssh port
but when I reboot ct , it will back to 22port
it seems this bug from ct image debian10,11 and debian12 still has this bug...