Giter Site home page Giter Site logo

Comments (14)

nexeck avatar nexeck commented on August 27, 2024 6

Is there any eta for this change? The Forum request is nearly 4 years old.

from aws-sdk.

erict-square avatar erict-square commented on August 27, 2024 5

It seems like ed25519 is supported for EC2 Key Pairs now https://aws.amazon.com/about-aws/whats-new/2021/08/amazon-ec2-customers-ed25519-keys-authentication/. What does it take to get it supported for instance connect as well?

from aws-sdk.

shaicoleman avatar shaicoleman commented on August 27, 2024 5

It's finally here:
https://aws.amazon.com/about-aws/whats-new/2022/01/ed25519-keys-authentication-ec2-instance-connect/

This is now working after upgrading to latest AWS CLI (aws-cli/2.4.15)

from aws-sdk.

nickd-beemit avatar nickd-beemit commented on August 27, 2024 1

Jesus ... 2 years ....

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

Hi @bcatubig, thanks for reporting this behavior.

According to the documentation, only RSA keys are supported:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.html#ec2-instance-connect-connecting-aws-cli

Would you be able to use and send an RSA public key?

from aws-sdk.

bcatubig avatar bcatubig commented on August 27, 2024

Hi @kdaily,

Yes, I am using RSA keys for the time being.

Thanks!

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

Hi @bcatubig,

If you feel that you need this feature, please open a thread on the AWS Discussion Forum for EC2:

https://forums.aws.amazon.com/forum.jspa?forumID=30

from aws-sdk.

julian-alarcon avatar julian-alarcon commented on August 27, 2024

There is already a forum/request open https://forums.aws.amazon.com/thread.jspa?threadID=250753

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

Hi @julian-alarcon, thanks for posting that. I'm going to transfer this issue to the central AWS SDK tracking repository, and follow up with the EC2 team to see if I can get any further details.

from aws-sdk.

julian-alarcon avatar julian-alarcon commented on August 27, 2024

According to this https://aws.amazon.com/about-aws/whats-new/2021/08/amazon-ec2-customers-ed25519-keys-authentication/ AWS EC2 supports now ed25519 ssh keys.

Can someone make some tests with aws-cli?

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

@julian-alarcon,

I was able to successfully import an ed25519 ssh key:

> aws ec2 import-key-pair --key-name test_ed25519_keypair --public-key-material file://~/.ssh/id_ed25519.pub

{
    "KeyFingerprint": "BL.............................",
    "KeyName": "test_ed25519_keypair",
    "KeyPairId": "key-XXXXXXXXXXXXXXXXX"
}

But I was not able to send it to an EC2 instance. Checking in on this.

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

V417070100

from aws-sdk.

kdaily avatar kdaily commented on August 27, 2024

I heard back from the EC2 team:

"EC2 Instance Connect does not support ED25519 key pairs. We are working on adding support for it. For more information about ED25519 key pairs, please see our documentation: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html"

I don't have a timeline to supply on when it will be supported.

from aws-sdk.

github-actions avatar github-actions commented on August 27, 2024

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

from aws-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.