In my debian8.1, i have set Port 23444 in /etc/ssh/ssh_config and restart sshd. Why can still login with : ssh root@vps_ip ? The Port doesn’t matter?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You can check this old tutorial to find out more, it still works. Link
You were close
Edit the following file: /etc/ssh/sshd_config