First, generate a set of SSH keys in the local directory (./ec2key_rsa) to use for the experiment with the ssh-keygen
command:
pallet-hadoop-example$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/Users/mjul/.ssh/id_rsa): ./ec2key_rsa
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ./ec2key_rsa.
Your public key has been saved in ./ec2key_rsa.pub.