Change the Default SSH Port on Your Linux Server

Edit the SSH configuration file:

vi /etc/ssh/sshd_config

Change the default SSH port:

Port 22

To a different SSH port number:

Port 1234

Then restart the SSH service:

/etc/init.d/ssh restart

More Related Posts