[PATCH] Add ssh_config equivalents of -N, -n and -f
Volker Diels-Grabsch
v at njh.eu
Sun Feb 21 14:11:10 AEDT 2021
Dear OpenSSH developers,
I kindly ask you to review the attached set of patches which
introduce ssh_config equivalents of the flags -N, -n and -f in
a straight forward way:
* NoShell for -N
* StdinNull for -n
* ForkAfterAuthentication for -f
The ssh_config names were derived directly from the internal flag
names, e.g. no_shell_flag was moved to option.no_shell and hence
the ssh_config name became NoShell. The man pages ssh(1) and
ssh_config(5) are adjusted accordingly.
As a final remark, I noticed that the variable ono_shell_flag (not to
be confused with no_shell_flag) is only assigned once and never used.
So I assume this is dead code and I'm proposing a patch to remove it.
Regards,
Volker
--
Volker Diels-Grabsch
----<<<((()))>>>----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_add_option_NoShell_for_flag_N.patch
Type: text/x-diff
Size: 6934 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20210221/b030f572/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_add_option_StdinNull_for_flag_n.patch
Type: text/x-diff
Size: 7587 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20210221/b030f572/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3_remove_dead_variable_ono_shell_flag.patch
Type: text/x-diff
Size: 926 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20210221/b030f572/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4_add_option_ForkAfterAuthentication_for_flag_f.patch
Type: text/x-diff
Size: 8313 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20210221/b030f572/attachment-0003.bin>
More information about the openssh-unix-dev
mailing list