lunes, 2 de febrero de 2015

remote root login Ubuntu server

http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04
Simply adding a password for root is not enough for Ubuntu 14.04 Server.

You need to edit /etc/ssh/sshd_config, and commend out the following line:

PermitRootLogin without-password

Just below it, add the following line:

PermitRootLogin yes

and also coment  #StrictModes yes
Then restart SSH:

service ssh restart

file should be like this


# Authentication:
LoginGraceTime 120
#PermitRootLogin without-password
PermitRootLogin yes
#StrictModes yes

No hay comentarios:

Publicar un comentario