EC2 Spark: Permission denied (publickey)

I had an error (Permission denied (publickey)) while trying to launch an EC2 Spark cluster with spark-ec2.  Turns out; you need to have a key pair for each zone (in my case I was using the keypair from a different zone).


Warning: SSH connection error. (This could be temporary.)
SSH return code: 255
SSH output: Warning: Permanently added ',xxxx' (ECDSA) to the list of known hosts.
Permission denied (publickey).


About Neil Rubens

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to EC2 Spark: Permission denied (publickey)

  1. naz says:

    Hi Neil,

    I am getting the same error. I was wondering if you could have figured this out?


Leave a Reply

Your email address will not be published. Required fields are marked *