Restrict a client port-forward to 1 port

Adriana Rodean adrya1984 at gmail.com
Thu Aug 13 17:06:42 EST 2009


Hi again,

Maybe i didn't expressed myself right.
I want client X to be able to connect with this command: ssh -L
30300:localhost:8080 -R 1037:localhost:55555
Client Y to be able to connect with: ssh -L 30300:localhost:8080 -R
1038:localhost:55555
and so on
but client Y should be forbidden to connect with:  ssh -L
30300:localhost:8080 -R 1037:localhost:55555

On the server sshd_config file i already have PermitOpen 8080 so from
the client side only 8080 is accesible on server.

Thank you again,
Sorry for the confusion

Adriana


More information about the openssh-unix-dev mailing list