Team I am working on small project (VPC with servers in private subnets) I have set up everything. I logged in to bastion host copied ssh key i.e. pem file from my laptop. Now I am trying to login two VM’s which are created in private subnet not having public IP.
We can use there private IP only to connect I tried below command to connect through bastion host but I am not able to connect please advise me.
ssh -i vpc-login.pem [email protected]