Skip to content

Block root access, ssh.

Hey,

Just a fast tip, if you want to have a ssh server more secure disable root access in "/etc/ssh/sshd_config"

Find the line starting with PermitRootLogin and set it to nojust like this:
PermitRootLogin no.

I already setup my ubuntu server, and have infos about ssh and other configurations. I'm translating the old articles to english first, so don't get angry if I take a little time to post it. I hope in the next month the portuguese version and the english, start to run together 😉

Bye,
Matheus

Published inLinux

7 Comments

  1. Wilson Wilson

    Amigo, o seu tutorial está errado , ao inves de comentar a linha, devemos mudar de yes para no

    abcs

  2. Por default o #PermitRootLogin vem comentado. Então para voce desabilitar o Login Root voce deve descomentar a linha, deixando como não. Já que o default é YES. O tutorial não está errado já que diz para voce descomentar a linha quando a mesma é NO. O que é pertinente ao meu sistema operacional. Mas obrigado pela dica.

  3. Sandro Sandro

    eu quero desaabilitar do meu roteaador wi-fi o passo é o mesmo? e onde eu acho o arquivo "sshd_config" ?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.