Question

Creating non-root user with ssh

Hey guys,

I just created a new droplet with ssh keys and what i want is to create a non-root user and login it using putty without using the root user.

Any suggestions on how to do it?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@marianorovin I’m probably just tired, but just to make sure: Do you want the new users to be able to access the server with a password or do you want them to use a key like root?

This comment has been deleted

Hi @marianorovin You login with your key as root and then create a new user with the command adduser marianorovin https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-a-centos-7-server