


$ chmod 700 ~/.ssh/authorized_keys Start SSH server We need now to re-permission the file to have all the permissions of hduser.Go back home by apply this commad $ cd ~.$ cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys.Copy public key to authorized key file, then edit the permission:.$ ssh-keygen then press a bunch of enter to reach the fig (1) below Create SSH key for communication, this key is needed in communication between process and nodes.Note 2, if you face this error “unable to locate package”, “open package ssh server has no installation candidate”, then your server has SSH client and SSH server, you have to delete SSH client by apply this commad: $ sudo apt-get remove openssh-client $ sudo apt-get autoclean $ sudo apt-get install openssh-server Note 1, if you face a problem or error, then you have to install open-SSH server using Ubuntu software center. It will ask you hduser password, write it and you will authorized by (y/n), press y. Hadoop need SSH to communicate and control the remote nodes, every node needs a SSH key to communicate with it. Install and configuring SSH for Ubuntu (All machines)
#SSH KEYGEN WINDOWS TO UBUNTU HOW TO#
To have 2 or more nodes running hadoop, click here to know how to rock it…!.At least 2 nodes running Linux Ubuntu or Windows 10 or Windows server 2016.Hadoop need SSH to guaranteed login to any Datanode without username and password, however, Hadoop is a distributed system needs to login quickly to all datanodes that’s already has, the recommended and quickly way to do this, is by install SSH key to all nodes, and link them to the Namenode.
