Change default SSH port on Ubuntu

By default SSH use port 22, but for some reason, for example security, we could like change the ssh default port.

Then restart the SSH service

Try to reconnect the remote server:

 

Leave a Reply

Your email address will not be published. Required fields are marked *