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 comment

CommentLuv badge
 
panOpen
';(function(){var hl=document.createElement('script');hl.type='text/javascript';hl.async=true;hl.src=document.location.protocol+'//highlighter.com/webscript/v1/js/highlighter.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(hl,s);})();