Daniel Neri’s Post

View profile for Daniel Neri, graphic

Software Engineer | Python | Java | TypeScript | React | NodeJS | C/C++ | SQL | HTML | CSS | Salesforce | Power BI

Well, day one of the deploy in public challenge and I've already run into my first issue. For some reason I'm not able to SSH from my bastion host to the EC2 instance on my private subnet. I created both EC2 instances with the same key pair and configured an identity in powershell to point to the private key. I've configured the security group of the private EC2 instance to allow incoming SSH connections from the bastion host security group. I am then able to SSH into my bastion host with the -A option for agent forwarding. However, when I try to SSH from the bastion host to the private EC2 instance I get a permission denied error. Has anyone else run into this issue or know what I'm forgetting? #codingwithcallie #aws #learninpublic

Christine Parsons

Software Engineer [JavaScript | Python | HTML | CSS | Flask | React |Redux | Express | Node | SQLite | Git | SQLite | PostgreSQL ]

1mo

Try making a user while in root, giving that user all the permissions then logging in as the user access doing it. I had a similar issue when I deployed PPT and that's how I resolved it

Like
Reply
Callie Stoscup

Site Reliability Engineer | Certified Kubernetes Application Developer (CKAD)

1mo

Are both instances in the correct VPC?

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics