Login into your Server Via Putty or any SSH client.type in following commandvi /etc/ssh/sshd_configpress "i" to edit file2, Go down to part that says "#Port 22"remove the "#" from the front of the lineand edit the port you want ExamplePort 1023press Esctype in ":wq" to save the file and exittype in following command to restart the SSH service./etc/init.d/sshd restartnow you can login to your server via new ssh port.