Skip to content

Instantly share code, notes, and snippets.

@eagletmt
Created August 1, 2016 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eagletmt/1b788a9edb0afd841ba17fa82d4c63df to your computer and use it in GitHub Desktop.
Save eagletmt/1b788a9edb0afd841ba17fa82d4c63df to your computer and use it in GitHub Desktop.
diff -ur openssh-7.3p1.orig/readconf.c openssh-7.3p1/readconf.c
--- openssh-7.3p1.orig/readconf.c 2016-07-28 07:54:27.000000000 +0900
+++ openssh-7.3p1/readconf.c 2016-08-02 01:13:28.182685601 +0900
@@ -1500,8 +1500,7 @@
oactive ? "" : " (parse only)");
r = read_config_file_depth(gl.gl_pathv[i],
pw, host, original_host, options,
- flags | SSHCONF_CHECKPERM |
- (oactive ? 0 : SSHCONF_NEVERMATCH),
+ flags | SSHCONF_CHECKPERM,
activep, depth + 1);
/*
* don't let Match in includes clobber the
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment