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 zip.com.au)
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.



Relevant Pages