I am installing Hadoop on my laptop. SSH works fine, but I cannot start hadoop.
munichong@GrindPad:~$ ssh localhost
Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0
You are trying to ssh to your own machine (localhost) and missing the authorized_keys
file which allows login.
This file in SSH specifies the SSH keys that can be used for logging into the user account for which the file is configured.
Follow the below two steps to configure it correctly.
Generate new keygen with the below command in terminal:
ssh-keygen
Press enter so as to retain the default name id_rsa.pub
Now register the generated key file:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys