diff --git a/packages/network/openssh/patches/openssh-silence-missing-identity-error.patch b/packages/network/openssh/patches/openssh-silence-missing-identity-error.patch new file mode 100644 index 0000000000..355fc1e9b5 --- /dev/null +++ b/packages/network/openssh/patches/openssh-silence-missing-identity-error.patch @@ -0,0 +1,14 @@ +diff --git a/sshconnect2.c b/sshconnect2.c +index d6af0b9..22c0aa6 100644 +--- a/sshconnect2.c ++++ b/sshconnect2.c +@@ -1320,8 +1320,7 @@ load_identity_file(char *filename, int userprovided) + struct stat st; + + if (stat(filename, &st) < 0) { +- (userprovided ? logit : debug3)("no such identity: %s: %s", +- filename, strerror(errno)); ++ debug3("no such identity: %s", filename); + return NULL; + } + private = key_load_private_type(KEY_UNSPEC, filename, "", NULL, &perm_ok);