Set it in an ssh key. You can also set which commands can be run inside this key.
Or you can set it in a local ssh config file (~user/.ssh/config)
But then users can bypass this using their own xforwarders...so you may have to block X forward ports on the server from certain users/ips or just allow it from certain hosts
Pls gimme thumbs up if you feel i have helped
Last edited by centosboy; 06-26-2009 at 10:53 AM.
|