Re: ssh -N counterpart in ssh_config

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

 



   MaxSessions 0    # ZERO!!!
in your sshd_config ensures that no interactive commands can be used

For good measure you can also add
ForceCommand    /usr/bin/false
which will override any command which is specified on the command line


On Mon, 5 Jul 2021 at 16:35, Christoph Anton Mitterer
<calestyo@xxxxxxxxxxxx> wrote:
>
> Hey.
>
> I've just wondered whether there is a counterpart for ssh's -N for
> ssh_config... at least I couldn't find anything in the manpage.
>
> Thanks,
> Chris.
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev@xxxxxxxxxxx
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
_______________________________________________
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