Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

How to restrict remote forwarding ports in SSH2?

Subject: How to restrict remote forwarding ports in SSH2?
Date: Thu, 23 Nov 2006 18:26:03 +0100
Hi everybody,

I am running openssh-3.9p1 and openssh-4.3p2 on Linux.
When using local port forwarding, the client's access to the ports of the
host machine can be restricted to a single port using the following option
in the host's configuration:
  permitopen="dest_hostname:port"

When using remote port forwarding: Is there a way to restrict the client in
the number of remote forwarding ports? In other words: I want the client to
be restricted, so that he can only remote-forward "ssh
-R15555:localhost:15000" and no other port on the server except 15000.
Without such a restriction the client would be able to "redirect" arbitrary
host-ports to where ever he likes.

Regards
Alexander

<Prev in Thread] Current Thread [Next in Thread>