Skip to content

ssh to my machine

0

I get error after ssh -i .ssh/keyPem.pem ubuntu@myEC2machine Permission denied (publickey) I have the both keys , public and private , I have a secutity group and I allow port 22 but it still not working .I got lost what to do and need help. Thanks , Boris Fain

asked 2 years ago156 views

1 Answer
1

Hello.

How about changing the private key permissions as shown in the answer at the URL below?
https://repost.aws/questions/QU9OTnMZfjSIOirOGB7rKSOw/aws-ssh-access-permission-denied-publickey#ANiisF0a4TR6KwZ0vmEXP30g

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.