Solution to below issue ( in Mac)
Could not find /Users/keypairs/key-pair.pem
Connecting to: server at IP 90.xx.x.xxx with keypair key-pair
Warning: Identity file /Users/key-pair.pem not accessible: No such file or directory.
ec2-user@90.xx.x.xxx : Permission denied (publickey).
1. In terminal - Go to the path where the "key-pair.pem" is sitting.
2. Check the permissions - just why typing the command -
c:/Users/keypairs> ls -la
3. Run the command -
c:/Users/keypairs> chmod 400
or c:/Users/keypairs> chmod 600
This should resolve the issue-- At least this worked for me!
No comments:
Post a Comment