Azure / Azure/azure-cli-extensions

`az ssh config` fails if provided with an ed25519 keypair

Open
#3,520 3 comments 1 reaction 1 assignee Claimed by @Juliehzl View on GitHub
feature-request Service Attention VM SSH
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Extension name (the extension in question)

`az ssh`

### Description of issue (in as much detail as possible)

If provided with an ed25519 keypair, `az ssh` fails to generate a config:
```
$ az ssh config -g my-resource-group -n my-vm -i ~/.ssh/id_ed25519 -p ~/.ssh/id_ed25519.pub --file ./config
Could not parse public key. Error: Public key is not ssh-rsa algorithm (ssh-ed25519)
```

Support for ed25519 would be nice. (I know Azure VMs _also_ do not support anything except RSA. There, too, support for ed25519 would be nice.)

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.