I have an instance in AWS with private IP (no public dns and no public ip) and I would like to connect to this instance through winscp to download few logs to my local PC. When I try to connect to this private instance through winscp I get below error, obviously because the server is in private.
Usually I ssh to bastion server which is in public subnet and then from there with private ssh key I ssh to the private instance. I could able to winscp to this bastion server which is in public but I would require to winscp to the private instance. I tried winscp connection tunnel hoping it might help somehow but I got "authentication key" error. Is there any way to winscp to private instance in AWS.