I have a number of AWS EC2 instances, one of them has a public IP address, the rest do not have public IP addresses.
I have set up SSH access to the public machine using a private/public key pair. I now need to access the rest of the network through this public instance.
I have been told that if I create a .pem file from my key pair, and install it on the public instance, I will be able to first SSH into the public instance and from there, SSH to the others.
This does not feel right. Copying my private keys over to another instance does not feel secure. Is it possible to set up a tunnel (whatever it is, I am not a sysadmin) from my local machine that has the key pair to the destination instances?