Ubuntu add user & disable root

First of all lets add user

enter password and confirm information, now add user to sudoers

now open for editing ssh config

find

and change it to

 

Restart ssh service and your done.

 

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);})();