Restrict a client port-forward to 1 port

Joseph Spenner joseph85750 at
Thu Aug 13 04:58:49 EST 2009

--- On Wed, 8/12/09, Adriana Rodean <adrya1984 at> wrote:

> Hi,
> Is it possible to restrict a client port-forwarding to one
> port?

Yes, but you must force key authentication.
Then, in the authorized keys, the 2 entries should look like this:

permitopen="" ssh-dss AAAAB3NzaC1k...hyHN/a7BHblrelqwejrjqw..first.client.key...etc..elrjwerwer
permitopen="" ssh-dss weafasdfds..second.client.key..werwerewerwe....etc..

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the openssh-unix-dev mailing list