Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29243

Amazon Web Services EC2 ssh permission denied (publickey) in Termux

$
0
0

ssh -i key.pem ec2-user@dns works fine in my laptop running ubuntu. I found out about Termux in android and I wanted to test if I could connect on using the same process and instance. I opened Google Chrome in android and then created a new Key Pair and also added my IP on the security groups. After that I copied it in the home folder created in Termux and modified chmod 400 androidkey.pem. When I run ssh -i androidkey.pem ec2-user@dns in Termux, it gives me an error saying permission denied (publickey). Is there a way to fix this?


Viewing all articles
Browse latest Browse all 29243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>