use nano or vi and edit /etc/ssh/sshd_config

change "permit root login" from no to yes