Here you can fill in the variables to customize your command. You can also click button below to grab the url with the variables you already filled in. Visiting that url will pre-fill them in you next visit. That allows you to customize and save your snippets. You don't have to fill all the variables, just the ones you think will change less often.
copy the url
copysh
ssh -i ${private_key_path}.pem ec2-user@${remote_machine_domain}
The -i modifier allows us to use private keys in our machine.
Here we assume the file (key) bastion-key.pem is in the same folder as the command is issued. The ip address 34.253.233.106 is the public ip4 address if the VM.
copysh
ssh -i bastion-key.pem ec2-user@yourvm.com