By deafult, via ssh, user can't login as root user. There is setting in sshd to enable it.
Steps to enable root login
Root login config
You also need to edit /etc/ssh/sshd_config, and comment out the following line:
PermitRootLogin without-password
Just below it, add the following line:
PermitRootLogin yes
Then restart SSH:
service ssh restart
http://askubuntu.com/questions/469143/how-to-enable-ssh-root-access-on-ubuntu-14-04