Re: Allow SSH but deny Tunnel



Marc Freimann <msbssk@xxxxxx> wrote:
Am Mon, 28 Jan 2008 13:31:07 +0100 schrieb Helmut Schneider:

Marc Freimann <msbssk@xxxxxx> wrote:

is it possible at FreeBSD (OpenSSH) to allow users login to console via
ssh but deny users to build up an ssh tunnel via argument "-L" or "-D".

see 'AllowTcpForwarding' in '/etc/ssh/sshd_config'

I forgot a very important detail. Is it possible to do it user based.
For example I want to deny this ssh tunnel only for frank and hans.

See 'match' in 'man sshd_config'

--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn .



Relevant Pages