Feature request/EOI: Match interactive config?

Damien Miller djm at mindrot.org
Mon May 6 13:48:21 AEST 2024


On Mon, 6 May 2024, openssh at tr.id.au wrote:

> Hey Damien,
> 
> > Would something like this help?
> > 
> > Match sessiontype shell
> > User foo
> > Match remotecommand "none"
> > User foo2
> > Match sessiontype exec remotecommand "/rsync"
> > User bar
> > Match sessiontype subsystem remotecommand "sftp"
> > User baz
> > 
> > 
> > diff --git a/readconf.c b/readconf.c
> > <snip>
>
> Thanks for looking into it, much appreciated. I think it's looking
> on the right track, but after applying the patch locally to test it,
> openssh-portable ceases to compile:

These changes are against openssh HEAD. If you've applied them against
another version then you might have conflicts. Did patch complain
when you applied the diff?

-d


More information about the openssh-unix-dev mailing list