Allow root account to use SSH (openssh)

onurbilgin(25)
Published in
#ssh
Words
27
Reading
1 min
Listen
Play
9y

Open sshd_config file:

# nano /etc/ssh/sshd_config

Find out line that read as follows:

PermitRootLogin no

Set it as follows:

PermitRootLogin yes

After that press ctrl + x and save file. Then restart sshd service

Allow root account to use SSH (openssh) | Ecency