ssh localhost passwordless
This is for setup of Hadoop Pseudo-Distributed mode script run
Use dsa (not working
Unfortunately, this does not work in Mac OSX, We should use RSA for security reasons.
ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_key
Use RSA
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Try localhost access
ssh localhost
You can login with shell without password for Mac (Mac login is still alive)
コメント