How to prevent forwarding of local port

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I have a machine (a) that creates an ssh connection to another machine (b)
using public key authentication. The user has no shell on b.

I am happy for a to request ports being forwarded to itself (-R) but how
can I prevent it forwarding ports from itself to b?


Site Timeline