RE: AllowTcpForwarding openssh v4.5p1-6 (fedora 7)

Thanks. I'll try this.

-----Original Message-----
From: Darren Tucker [mailto:dtucker@xxxxxxxxxx]
Sent: sexta-feira, 10 de Outubro de 2008 2:52
To: David Carvalho
Cc: secureshell@xxxxxxxxxxxxxxxxx
Subject: Re: AllowTcpForwarding openssh v4.5p1-6 (fedora 7)

David Carvalho wrote:
I was wandering if there's any way to enable tcp forwarding ( for ssh
tunnels ) only for specified users, denying all the rest.

Look for the Match keyword in sshd_config(5). eg

AllowTcpForwarding no
Match User someuser
AllowTcpForwarding yes

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.