Score:0

How to set up a SSH reverse proxy?

tr flag

I have a project whose goal is to make a script that analyses incoming SSH traffic and redirects it to the targeted server as well as several mirror SSH servers for control and intrusion detection.

For that, I need a SSH reverse proxy that is able to decrypt incoming SSH traffic and log it in cleartext so that my script can process it.

What's the simplest way of doing that ? I've tried using ssh-mitm, it's good but only gives the traffic after authentication, I need to see in cleartext all the traffic after the key exchange.

I then tried mitmproxy. It is able to handle SSL traffic but it can't decrypt SSH messages.

I've also seen NGINX used as a reverse proxy, but I think it is not able to decrypt SSH traffic as I want to.

I hope everything was clear. I will be awaiting for your answers, thanks in advance et have a nice day :)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.