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?
↧
Amazon Web Services EC2 ssh permission denied (publickey) in Termux
↧