CmdID

CmdID / aws / aws ec2-instance-connect

aws ec2-instance-connect send-ssh-public-key

Pushes an SSH public key to the specified EC2 instance for use by the specified user. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--availability-zoneThe Availability Zone in which the EC2 instance was launched.
--instance-idThe ID of the EC2 instance.
--instance-os-userThe OS user on the EC2 instance for whom the key can be used to authenticate.
--ssh-public-keyThe public key material.