Changing Default SSH port From 22

nano /etc/ssh/sshd_config

Look for

#Port 22

Change "22" to the port you wish to use.

CTRL + X, Save your settings.

service sshd restart

close out SSH and test the connection with the port you chose.

  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

PHP Security: Limit Resources Used By Script

How do I control and put limits on php scripts such as maximum execution time of each script and...

PHP Increase Upload File Size Limit

Your php installation putting limits on upload file size. The default will restrict you to a max...

OpenSSH Hide Version Number From Clients

How do I hide ssh number from clients? When I type the following command it displays server...

nginx: Setup SSL Reverse Proxy (Load Balanced SSL Proxy)

everse proxy is a proxy server that is installed in a server network. Typically, reverse proxies...