Mailing List Archive

[Bug 866] ssh(1) is too picky about unknown options in ~/.ssh/config
https://bugzilla.mindrot.org/show_bug.cgi?id=866





--- Comment #17 from Olav Morken <olavmrk@gmail.com> 2009-03-09 06:21:16 ---
Created an attachment (id=1610)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1610)
Patch which allows OpenSSH to ignore unknown options.

This is a patch which implements alternative 1 from Josh Triplett. This
patch makes ssh ignore all unknown options which are prefixed with '@'.
For example, the following works:

Host *
@InvalidOption asdf

Any chance of having this patch (or something similar) included in
OpenSSH?

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 866] ssh(1) is too picky about unknown options in ~/.ssh/config [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=866


Olav Morken <olavmrk@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |olavmrk@gmail.com




--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 866] ssh(1) is too picky about unknown options in ~/.ssh/config [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=866





--- Comment #18 from Nicolas Williams <Nicolas.Williams@sun.com> 2009-03-13 04:16:58 ---
OpenSolaris shipped this ssh_config(4) parameter:

IgnoreIfUnknown

Specifies a comma-separated list of ssh_config parame-
ters, which, if unknown to ssh(1), are to be ignored by
ssh.

This parameter is primarily intended to be used in the
per-user ssh_config, ~/.ssh/config. While this parameter
can also be used in the system wide /etc/ssh/ssh_config
file, it is generally useless as the capabilities of the
ssh(1) client on that host should match that file.

There is no DontIgnoreIfUnknown as I had originally proposed in
PSARC/2004/505 (see
http://mail.opensolaris.org/pipermail/opensolaris-arc/2007-October/004417.html).

Solaris manpage:

http://docs.sun.com/app/docs/doc/819-2251/ssh-config-4?l=ja&a=view

OpenSolaris source:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/ssh/include/readconf.h
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/readconf.c

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs