Reputation: 941
I m trying to create a new aws glue devendpoint and below is what i get when i try to ssh to the instance.
MYEC2INSTANCExxxxxx.xxx.compute.amazonaws.com: Permission denied (publickey)
I m trying to follow the tutorial here: https://docs.aws.amazon.com/glue/latest/dg/dev-endpoint-tutorial-local-notebook.html
I guess the system fails on PORT forwarding.Any help on this ?
Edit:
Below is the full message I have added xxxx ,where i cannot reveal some data
Warning: Permanently added 'ec2-xxx-xxxxxxxx-xxxxxxxxxx-xxxxxxxxxxxxx' (ECDSA) to the list of known hosts. [email protected]: Permission denied (publickey).
Upvotes: 0
Views: 913
Reputation: 91
There are two angles for the public key: 1. starts with ---- BEGIN SSH2 PUBLIC KEY ---- 2. starts with ssh-rsa AA...... If you use the former, you will get a "Permission denied (public key)" Use the second one. You can convert or generate a key using PuttyGen
Upvotes: 1