How to enable direct root ssh login on the seedbox

Here is how you can make direct root ssh login available

Updated over a week ago

Since root login to the seedbox is disabled to maximize security, there is a way to manually enable it.

DO NOTE: you are doing it on your own risk!

Since ssh login as user is available, it is easy to establish ssh connection to the seedbox like this:

ssh user@seedboxipaddress -p 2222

Once logged in, execute:

sudo su

and provide your user password at the prompt.

Now terminal will show

root@seedboxname#

With terminal editor of your choice go to /etc/ssh/sshd_config file and change line:

PermitRootLogin prohibit-password

to

PermitRootLogin yes

then execute:

systemctl restart sshd.service

Once that is done, and you are still logged in as root user (sudo su) you should execute command

passwd

and on prompt type NEW password for user root, and of course confirm that same password on next prompt, and you are done.

Now you can ssh to your seedbox as root user directly, with password you have created on last step.

I don't know what to do next...

If you need any assistance, let us know by opening a chat in the lower right hand corner of your screen. We're here to help 😄

Did this answer your question?