Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created a tunnel between a shared machine and my machine which is behind a firewall, with the goal of accessing my machine from outside. I don't one all the users of the shared machine to be able to access my machine, though. So is there a way to set "ownership" on an ssh tunnel?

share|improve this question
up vote 2 down vote accepted

No. The best you can do is use the owner module in iptables to drop packets not generated by a process owned by you.

share|improve this answer

This may not help you specifically, but if you wanted to solve this problem in a general fashion you could use SELinux to control access. Of course you would need to coordinate with the admin of the shared box for that.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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