If you are not able to SSH into WHM/cPanel server with root and getting password authentication failed error but are sure login details are correct then there might be problem with SSH configuration. You can confirm if root login is correct by login to WHM with same details.