Log into a Python interpreter running inside a docker, inside an EC2 instance


I am currently evaluating the professional version of PyCharm for scientific use. I was able to find instructions to log-in and use an interpreter via SSH but I am a bit confused about how to go about tunnelling via one SSH console into another. Specifically, I need to run scripts inside a docker (which I log in as root@localhost) which is running on an EC2 instance (which I log in with my LDAP). 

Any help will be greatly appreciated. 


Please sign in to leave a comment.