Hello,
I have edited /etc/ssh/sshd_config to change The ssh port.
My issue is that ssh at system reboot starts listening in port 22, whatever port I have defined in /etc/ssh/sshd_config .
The only why to change The port is to stop sshd.socket Service and start it again.
If I restart The Service, it keep on listening in por 22
I tried to reinstall ssh several times with no success.
The only Solution that I have find out was to edit The file sshd.socket changing The listening port to My desired one.
i also copied My configuration files for another competer with no success.
If i turn iptables off, it keeps The same.
It is a new installation. Maybe I am missing something but I have not been able to find anything relates to gire me a clue.
Any idea?