Skip to content

Issue on docs, incorrect command for adding ssh-key #960

Open

Description

@JustLinuxUser

Path: /cli/hello-world

Image
vastai create ssh-key ~/.ssh/id_ed25519.pub

This creates an ssh key with contents being the literal string of /home/<user>/.ssh/id_ed2.... in the vastai client installed on linux using curl -fsSL https://vast.ai/install.sh | bash.

I don't know if this is a client bug, and it should load a file, or if this is a docs issue, and it should show something like

vastai create ssh-key "$(cat ~/.ssh/id_ed25519.pub)"

Which does actually work

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions