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