https://stackoverflow.com/questions/36300446/ssh-permission-denied-publickey-gssapi-with-mic
(publickey,gssapi-keyex,gssapi-with-mic).
ssh -i "CCA_Product.pem" ec2-user@10.79.197.206
ssh-keygen -m PEM
pem
pub
docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-serial-console.html#sc-connection-methods
Push your SSH public key to the instance to start a serial console session
aws ec2-instance-connect send-serial-console-ssh-public-key \
--instance-id i-06a0d8564550494b0 \
--serial-port 0 \
--ssh-public-key file://serialAccess.pub \
--region us-east-1
Connect to the serial console using your private key
ssh -i serialAccess i-06a0d8564550494b0.port0@serial-console.ec2-instance-connect.us-east-1.aws
i-06a0d8564550494b0
No comments:
Post a Comment