jtesta/ssh-mitm

Trying to intercept the SSH connection to AWS EC2 instance

vk-gst opened this issue · 3 comments

I am a beginner to penetration testing and was wondering if I can use this method that you described to intercept an AWS EC2 instance ssh. I will be doing this in my own machine and a AWS EC2 server that I have full control on.

Would this be possible? and if yes, is it legal to do so? I do not want to run into some illegal law suites trying to do this on the Amazon AWS.

"On the same LAN", that's something I did not understand. Imagine an attacker having an IP address of the server, but not the user name and the public/private key for SSH session. In that scenario, what would be the approach in using this tool?