Skip to content

cmd.exe: aws ssm start-session: Cannot enter "$" or "@" w/Norwegian keyboard layout, nor paste #9815

@andersnm

Description

@andersnm

Describe the bug

I have a Norwegian keyboard, and when I press AltGr+4 for $, or AltGr+2 for @ in a CLI SSM session then nothing happens. $ and @ works everywhere else.

Likewise, if I paste anything containing $ or @ then the special characters are ignored.

If I change keyboard layout to US, then I can press Shift+4 and Shift+2 for $ and @ respectively. But I still cannot paste.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

If I type or paste a string with "$", I expect "$" to be included in the CLI SSM session.

Current Behavior

If I type or paste a string with "$", nothing happens in the CLI SSM session.

Reproduction Steps

  • Have Windows 11 with Norwegian keyboard layout
  • Have EC2 instance with recent Amazon Linux (mine has Linux/6.1.127-135.201.amzn2023.x86_64)
  • Connect to the EC2 instance using aws ssm start-session ...
  • Type $ or @, or paste a string containing either or both

Possible Solution

No response

Additional Information/Context

Using aws-cli/2.27.35 Python/3.13.3 Windows/11 exe/AMD64

CLI version used

2.27.35

Environment details (OS name and version, etc.)

Client: Windows 11. EC2: amzn2023.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions