On Tue, 2007-09-18 at 12:19 +0100, Martin Simovic wrote: > Hi, > > is there a way to restrict commands passed to ssh (client) to override > command line options > > i need to restrict PermitLocalCommand to 'no', even if specified 'yes' > on command line > > man ssh_config says > > ssh obtains configuration data from the following sources in the follow‐ > ing order: > 1. command-line options > 2. user’s configuration file (~/.ssh/config) > 3. system-wide configuration file (/etc/ssh/ssh_config) > > so it looks like that /etc/ssh/ssh_config is overridden by command line > argument ssh -o PermitLocalCommand=yes [EMAIL PROTECTED] > > thank You, > > martin. Hi, this is a question which I asked some yaers ago, and every now and again ... but without any answer ... So I made a patch by myself, which I also update with every new release For the Patch to openssh-4.7p1 see attachment The name of the not overidable configfile is ssh_config_p
-- H CUH Rainer Peter Feller H
openssh-4.7p1-paranoia.patch.bz2
Description: application/bzip
