I bought a proxy service. In order to setup my browser I have to establish a SSH tunnel to their server. Since I do not want to observe it permanently, I want to setup autossh for it.

But what I wonder: If the server of the proxy service is hacked or if another customer, who also connects to the SSH tunnel, is infected: Can they damage my machine in any way? Steal data, connect to my computer or what ever...

Is this a legitimate worry or totally impossible?


There were such examples if you were using X11 forwarding, for example as described in this report:


Similar issue was published many years ago:


All these should be fixed now, but using -X forwarding to untrusted machines can still be potentially dangerous.


Can someone crawl back down your SSH connection and infect your computer? No. Can they see there's a connection from your external IP address then scan/enumerate/potentially exploit your gateway (e.g. router)? Yes.

What you should really be concerned with is if the proxy provider is worth trusting with your web traffic. By proxying your traffic through their network you give them direct access to sniff your traffic, whether it's in the fine print or not. The traffic will be encapsulated by the SSH tunnel and obfuscated from your ISP, but once it is egressing from the proxy provider it's fair game.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.