ubuntu ssh Permission denied (publickey)
Check /etc/ssh/sshd_config file. There, find the line which says
PasswordAuthentication no
That line needs to be modified to say yes instead of no. Also, restart the sshd server afterwards.
sudo /etc/init.d/ssh restart