Izin ditolak (PublicKey, GSSAPI-KEYEX, GSSAPI-WITH-MIC).

Solved it by amending the 

/etc/ssh/sshd_config 

PasswordAuthentication yes 

then re-started the service using 

sudo systemctl restart sshd
Sachin