I have deployed a RHEL instance on EC2 with "Web Server" package fully installed.
From MAC terminal, I tried to upload a test file onto the new instance:
# scp /Applications/MAMP/htdocs/index.php email@example.com:/var/www/html
The error message I get:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic). lost connection
I get a different error message when I tried to scp-ing using Elastic IP:
Address 220.127.116.11 maps to ec2-122-248-232-146.ap-southeast-1.compute.amazonaws.com, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT! Permission denied (publickey,gssapi-keyex,gssapi-with-mic). lost connection
When I tried to access the EC2 address from the browser, I get the following error:
(113) No route to host
Was hoping someone can help out. Am I missing something?