ssh -N counterpart in ssh_config

Nico Kadel-Garcia nkadel at gmail.com
Tue Jul 6 15:15:58 AEST 2021


On Mon, Jul 5, 2021 at 8:36 PM Christoph Anton Mitterer
<calestyo at scientia.net> wrote:
>
> On Mon, 2021-07-05 at 19:46 -0400, M Rubon wrote:
> >    MaxSessions 0    # ZERO!!!
> > in your sshd_config ensures that no interactive commands can be used
>
> Thanks, but I don't think this is really an equivalent of ssh's -N, as
> it needs to be set on the server side, which one might not even have
> permissions to do so... and even if, if would affect all connections...
> and I don't think one can work around this with Match or so.

It's also not what he asked. He asked for "ssh_config" settings, not
"sshd_conig" settings.


More information about the openssh-unix-dev mailing list