Upgrade linux9 openssh-server problem

What means did you use to make sure that your port is not changed back to the default on the next update? If you just set the port under the “Run Time” status and don’t save it to “Permanent” then the settings won’t persist after a reboot.