Debian 8: No root login via SSH

Debian Talk

By default, Debian 8 has now killed your ability to log into root via SSH directly. This was done for security reasons.

But don’t forget… this is linux. You know you can fix that. And if you want to, here’s how to do it.

Login and su into root. Edit this file:

nano /etc/ssh/sshd_config

Scroll down for a bit and you’ll see a line that says

PermitRootLogin without-password

Put a # and a space in front of this line like so:

# PermitRootLogin without-password

now rewrite it on a new line like this:

PermitRootLogin yes

Now save the file and restart the SSH server.

/etc/init.d/ssh restart

Ta da! Now SSH into it directly as root. Congrats! Your old insecure ways of doing things have returned. Enjoy.

Ver la entrada original



Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: