Jump to content

Enable SSH root on Ubuntu Server 16.04 LTS

Yes I know. iT iSn'T sEcUrE tO eNaBlE rOoT, But I need SFTP Root to transfer the files in one root directory. Yes I can CHMOD it but that defeats what I am used to.
Moral of the story is
Old Host: Installed Ubuntu With root enabled default
New Host: Installs normal Ubuntu.

I have already tried enabling SSH Root in "/etc/ssh/sshd_config" 

and no luck.
image.png.15b24b4cc0df916c6f9fe0974d2f02b9.png

Link to comment
Share on other sites

Link to post
Share on other sites

Yes i have set a password using 

sudo -i

then doing
 

sudo passwd

And for your question about why i need it is because I am used to using root to upload files then set the permmisions up.

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, AdamAtomus said:

Yes i have set a password using 


sudo -i

then doing
 


sudo passwd

And for your question about why i need it is because I am used to using root to upload files then set the permmisions up.

set the password buy doing sudo -s

then passwd

 

You shouldn't be using root to upload files in the first place, why not use a normal user?

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, AdamAtomus said:

And for your question about why i need it is because I am used to using root to upload files then set the permmisions up.

doubling down on bad practice, nice

MSI GX660 + i7 920XM @ 2.8GHz + GTX 970M + Samsung SSD 830 256GB

Link to comment
Share on other sites

Link to post
Share on other sites

I have made my mind up.
I will just keep root disabled for security.
Thanks for the help and support :)
 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×