server's /etc/ssh/sshd_config:
To enable password authentication, uncomment
#PasswordAuthentication yes
To enable root login, uncomment
#PermitRootLogin yes
To enable ssh key login, uncomment
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
Allow SSH Login from Cpanel Settings:
- Go to Manage Shell Access and select "Normal Shell" and save settings
Restart SSHD
/etc/init.d/sshd restart
or
service sshd restart