Ubuntu Change SSH Port

Open SSH config file

There should be string Port you can use Ctrl+w to search for it, so you will find something like

change 22, for example to 21989, now restart SSH service

You can also open port if it’s closed

 

Leave a Reply

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

CommentLuv badge