Re: Feature request/EOI: Match interactive config?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Mon, 6 May 2024, openssh@xxxxxxxx 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
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux