Skip to content

Ability to generate an SSH key outside of login #106

@sagikazarmark

Description

@sagikazarmark

#52 added loading auth details from env variables.

However, since the ssh public key is generated on labctl auth login, SSHing to playground doesn't work without logging in first (which writes credentials to disk, not ideal in a CI environment)

Ideas:

  • Add an auth generate-ssh-keycommand
  • Generate SSH key on demand if it's missing

(I'll open a PR later if we settle on the solution)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions