Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Can't create user that will login with a key #368

Description

When either leveraging secrets.yaml or add-user command with ssh-key to create a user with public key I am prompted for a password (which I never provided) to ssh with that user.

Tried with
aztk spark cluster add-user --id cluster1 --username stefan --ssh-key ~/.ssh/id_rsa.pub

and with this in my secrets.yaml
ssh_pub_key: ~/.ssh/id_rsa.pub

Then
aztk spark cluster ssh --id cluster1 --username stefan
prompts for a password, which of course I do not have....

If I use add-user with a user/password then I can get in.

What am I doing wrong? Using latest from master.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions