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

Logging onto different instances #67

Open
POnakS opened this issue Jul 1, 2022 · 2 comments · Fixed by #69
Open

Logging onto different instances #67

POnakS opened this issue Jul 1, 2022 · 2 comments · Fixed by #69
Assignees

Comments

@POnakS
Copy link

POnakS commented Jul 1, 2022

Hi, I'm using the ssm helpers to login onto a aws ec2 instance:

ssm session --profile LabDevMain -t Name

INFO    Retrieved 10 usable instances.
       Instance ID          Region        Profile     Name                                           
? Showing 10/32 instances. Make a Selection:  [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
> [ ]  i-123123123123  eu-central-1  MyProfile instance-111-name
   [ ]  i-111111111111   eu-central-1  MyProfile  instance-123-name

As you can see in the example instance names and ids are swapped. I.e. by selecting instance i-12312312313 I'll connect to the instance i-111111111111 (just example ids).

Then in aws ssm start-session I'll see "true" instance id.

@ncatelli ncatelli self-assigned this Oct 16, 2022
@ncatelli
Copy link

I was able to replicate the issue, I'll look into the source of it and follow up further.

@ncatelli
Copy link

Reopening until a release containing the fix is cut.

@ncatelli ncatelli reopened this Oct 17, 2022
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

Successfully merging a pull request may close this issue.

2 participants