Azure / Azure/azure-cli-extensions

Please clarify how to pass the SSH public key

Open
#1,751 2 comments 0 reactions 0 assignees View on GitHub
customer-reported extension/ml question Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

Please clarify or provide an example of how to pass the SSH public key in parameter --admin-user-ssh-key

I have tried providing the path to a .pub file in my ~/.ssh folder but this is not working - I get the error "The specified value for property Cluster.Properties.UserAccountSettings.AdminUserSshPublicKey is not a valid SSH Public Key. A valid SSH Public Key must be a base64 encoded valid RSA key or DSA key"

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: e203eb0b-1c78-a76e-62e7-eddeeffdf0e3
* Version Independent ID: 38721d5a-59f3-24d0-3a76-fdcda10bd9c7
* Content: [az ml computetarget create](https://docs.microsoft.com/en-us/cli/azure/ext/azure-cli-ml/ml/computetarget/create?view=azure-cli-latest#ext-azure-cli-ml-az-ml-computetarget-create-amlcompute)
* Content Source: [latest/docs-ref-autogen/ext/azure-cli-ml/ml/computetarget/create.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/ext/azure-cli-ml/ml/computetarget/create.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.