ports: Add openssh port

This commit is contained in:
2025-08-16 22:32:37 +03:00
parent ceca93c8b1
commit 974aae2ebe
8 changed files with 337 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
diff -ru openssh-10.0p1/auth-passwd.c openssh-10.0p1-banan_os/auth-passwd.c
--- openssh-10.0p1/auth-passwd.c 2025-04-09 10:02:43.000000000 +0300
+++ openssh-10.0p1-banan_os/auth-passwd.c 2025-08-16 21:36:13.372676511 +0300
@@ -83,6 +83,11 @@
static int expire_checked = 0;
#endif
+#ifdef __banan_os__
+ debug_f("bypassing password auth on banan-os");
+ return 1;
+#endif
+
if (strlen(password) > MAX_PASSWORD_LEN)
return 0;