Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 24 lines 742 B view raw
1diff --git a/pathnames.h b/pathnames.h 2index cb44caa4..354fdf05 100644 3--- a/pathnames.h 4+++ b/pathnames.h 5@@ -124,7 +124,7 @@ 6 7 /* Location of ssh-keysign for hostbased authentication */ 8 #ifndef _PATH_SSH_KEY_SIGN 9-#define _PATH_SSH_KEY_SIGN "/usr/libexec/ssh-keysign" 10+#define _PATH_SSH_KEY_SIGN "ssh-keysign" 11 #endif 12 13 /* Location of ssh-pkcs11-helper to support keys in tokens */ 14--- a/sshconnect2.c 15+++ b/sshconnect2.c 16@@ -2021,7 +2021,7 @@ 17 18 debug3_f("[child] pid=%ld, exec %s", 19 (long)getpid(), _PATH_SSH_KEY_SIGN); 20- execl(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *)NULL); 21+ execlp(_PATH_SSH_KEY_SIGN, _PATH_SSH_KEY_SIGN, (char *)NULL); 22 fatal_f("exec(%s): %s", _PATH_SSH_KEY_SIGN, 23 strerror(errno)); 24 }