CmdID

CmdID / aws / aws ec2-instance-connect

aws ec2-instance-connect ssh

Connect to your EC2 instance using your OpenSSH client. AWS CLI reference

8 options Its page in the AWS CLI reference

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

Options

8 in the AWS CLI reference
--connection-typeSpecify how to SSH into the instance.
--eice-optionsSpecify the options for your EC2 Instance Connect Endpoint.
--instance-idSpecify the ID of the EC2 instance to connect to.
--instance-ipSpecify the IP address of the instance to connect to.
--local-forwardingSpecify the local forwarding specification as defined by your OpenSSH client.
--os-userSpecify the OS SSH user.
--private-key-fileSpecify the path to the private key file for login.
--ssh-portSpecify the SSH port.