How to change Linux SSH Port

Commands:

sudo nano /etc/ssh/sshd_config

Control + X after Y and Enter

sudo service sshd restart

Done