Can you pass ssh -i <.pem> file? On Thu, Feb 2, 2017 at 10:37 AM, Rishav Rohit <rishav.ro...@tivo.com> wrote:
> Hi, > > I want to set-up SSH action workflow on AWS EMR cluster which is inside a > VPC. For connecting to the master node through SSH, AWS provided private > key (.pem) file is required. > I have tried executing “hello world” SSH action with > <host>localhost</host> / <host>hadoop@localhost</host> options, but it is > giving me below error – > > org.apache.oozie.action.ActionExecutorException: AUTH_FAILED: Not able to > perform operation [ssh -o PasswordAuthentication=no -o > KbdInteractiveDevices=no -o StrictHostKeyChecking=no -o ConnectTimeout=20 > hadoop@localhost mkdir -p oozie-oozi/0000000- > 170202180741904-oozie-oozi-W/ssh--ssh/ ] | ErrorStream: Warning: > Permanently added localhost (ECDSA) to the list of known hosts. > Permission denied (publickey). > > How can I use AWS .pem file with the SSH action ? > > Thanks & Regards, > Rishav Rohit > >