Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any way to upload ssh key? #41

Open
rockethost-israel opened this issue Jan 23, 2021 · 1 comment
Open

any way to upload ssh key? #41

rockethost-israel opened this issue Jan 23, 2021 · 1 comment

Comments

@rockethost-israel
Copy link

rockethost-israel commented Jan 23, 2021

Hi, why there is no way to upload ssh key?

or i missing something...

Thanks

@PopoSensei
Copy link
Contributor

If by uploading you mean to use multiple times the same SSH-key like in our Hub, where UpCloud stores your SSH-key. That is a feature that is exclusive to our Hub.

If though you mean to use as a login method to a server, then while creating the server add the SSH-Key to the login_user. A sinpet from ServerApiFixture.php:

  "login_user" => [
      "username" => "upclouduser",
      "ssh_keys" => [
          "ssh_key" => [
              "ssh-rsa AAAAB3NzaC1yc2EAA[...]ptshi44x user@some.host",
              "ssh-dss AAAAB3NzaC1kc3MAA[...]VHRzAA== someuser@some.other.host"
          ]
      ]
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants