I need to connect to SSH
to connect to amazon code-commit
so my steps:
-
create new ssh called:
asw-code-commit
withasw-code-commit.pub
-
upload the ssh to asw user IAM and got my
SSH key ID
-
update config in
.ssh
folder to this:Host git-codecommit.*.amazonaws.com User APKAV66BIP######## IdentityFile ~/.ssh/aws-code-commit
-
save and connect to ssh by this:
ssh git-codecommit.us-east-2.amazonaws.com
I got this error:
no such identity: /Users/Ra/.ssh/aws-code-commit: No such file or directory
APKAV66BI#####@git-codecommit.us-east-2.amazonaws.com: Permission denied (publickey).
Where is the problem ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire