dimanche 13 septembre 2020

aws permission denied (publickey) with git-codecommit

I need to connect to SSH to connect to amazon code-commit so my steps:

  1. create new ssh called: asw-code-commit with asw-code-commit.pub

  2. upload the ssh to asw user IAM and got my SSH key ID

  3. update config in .ssh folder to this:

    Host git-codecommit.*.amazonaws.com
    User APKAV66BIP########
    IdentityFile ~/.ssh/aws-code-commit
    
  4. 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