Open sshd config file
vi /etc/ssh/sshd_config
Find and uncomment then change 22 to wished port number
# Port 22
Restart SSH server
service sshd restart
Notes
Open sshd config file
vi /etc/ssh/sshd_config
Find and uncomment then change 22 to wished port number
# Port 22
Restart SSH server
service sshd restart