Changing Root Password, Port Number 22, and Creating New Root User

August 2, 2013 1.5k views
Is it ok to change the root password, port number 22, and then create new root username and password? I want to do these things using PuTTY. Also, can I set up automatic login using PuTTY?
2 Answers
"Is it ok to change the root password"

Not only is it okay, but you better! Follow this guide: Initial Server Setup with Ubuntu 12.04.

Then, you can set up automatic logins by following this guide: How to Create SSH Keys with PuTTY to Connect to a VPS.
by Etel Sverdlov
This tutorial covers how to login with root, how to change the root password, how to create a new user, how to give the new user root privileges, how to change the port, and how to disable root login in. This tutorial is written for Ubuntu. When you first create your server, this tutorial explains the first steps you need to take. This tutorial is written for Ubuntu 12.04.
change password root : passwd root
create new user:adduser name
Have another answer? Share your knowledge.