When you install Ubuntu, first, do you face with remote login with putty? Now you can do it, we will show you how to enable root login on Ubuntu and remote putty, so it is easy for you.
First, you need to download putty and pass IP address Ubuntu and use account for login, example (my account is username: Twelveshow, password:12345). After that you need to log in root user and visit address /etc/ssh/sshd_config.
$ sudo nano /etc/ssh/sshd_config
You need to change #PermitRootLogin no to PermitRootLogin yes and Press key: Ctrl + C and type Y for save and command on the bellow for restart ssh service.
$ sudo /etc/init.d/ssh restart
$ sudo service ssh restart
$ sudo systemctl restart ssh
If you want your remote control is safe you need to change port number #port 22 to port 9999 or other ports which you have and you need to know number of that port.
We hope that the showing these will help you to gain more knowledge and work and we see that the Putty is used by worldwide and free license, so we recommend to use it.