[augeas-devel] sshd lens bugfix

David Lutterkort lutter at redhat.com
Mon Feb 1 17:39:07 UTC 2010


On Sat, 2010-01-30 at 22:57 +1100, Matthew Palmer wrote:
> Apparently nobody noticed that SSH subsystem commands can quite validly have
> spaces in them ("with optional arguments"); the patch below fixes that
> problem.

ACK. While we're at it, should we split the arguments out from the
command ? I.e., rather than parsing "Subsystem foo cmd arg1 arg2\n" into

  { "Subsystem" { "foo" = "cmd arg1 arg2" } }

parse it into

  { "Subsystem" { "foo" = "cmd" { "arg" = "arg1" } { "arg" = "arg2" } } }

David








More information about the augeas-devel mailing list