- Create a key pair under ec2 section (Example: mykp.pem)
- Download mykp.pem
- Run this command from a linux shell to get the public key for the above .pem
- ssh-keygen -y -f /directorypath/mykp.pem
- Output will be ssh-rsa with long key
- Add this key to the target server
No comments:
Post a Comment