Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.