Right now the spark-ec2 scripts assume that you have root access and a lot
of internal scripts assume have the user's home directory hard coded as
/root.   However all the Spark AMIs we build should have root ssh access --
Do you find this not to be the case ?

You can also enable root ssh access in a vanilla AMI by editing
/etc/ssh/sshd_config and setting "PermitRootLogin" to yes

Thanks
Shivaram



On Mon, Apr 7, 2014 at 11:14 AM, Marco Costantini <
silvio.costant...@granatads.com> wrote:

> Hi all,
> On the old Amazon Linux EC2 images, the user 'root' was enabled for ssh.
> Also, it is the default user for the Spark-EC2 script.
>
> Currently, the Amazon Linux images have an 'ec2-user' set up for ssh
> instead of 'root'.
>
> I can see that the Spark-EC2 script allows you to specify which user to
> log in with, but even when I change this, the script fails for various
> reasons. And the output SEEMS that the script is still based on the
> specified user's home directory being '/root'.
>
> Am I using this script wrong?
> Has anyone had success with this 'ec2-user' user?
> Any ideas?
>
> Please and thank you,
> Marco.
>

Reply via email to