Re: ssh restrictions (/etc/ssh_config)
thanks a lot!
that is exactly what i needed.
as i see the patch is for the latest stable (i need to get the source
and build .deb)
what about updates; do you run a public repository (cvs like?)
On Wed, 2007-09-19 at 09:39 +0200, Rainer Peter Feller wrote:[color=blue]
> On Tue, 2007-09-18 at 12:19 +0100, Martin Simovic wrote:[color=green]
> > 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 someuser@somehost
> > thank You,
> > martin.[/color]
> 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