From 95afb1748206b1c0e14da99a8e646be3e8b1e1f6 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sun, 30 Sep 2001 17:33:59 +0000 Subject: [PATCH] If the program is called as ssh1, invoke ssh_main(). This is necessary for scp to work, as scp execs ssh1. --- picobsd/ssh-picobsd/files/patch-yc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 picobsd/ssh-picobsd/files/patch-yc diff --git a/picobsd/ssh-picobsd/files/patch-yc b/picobsd/ssh-picobsd/files/patch-yc new file mode 100644 index 000000000000..bc3f04dad408 --- /dev/null +++ b/picobsd/ssh-picobsd/files/patch-yc @@ -0,0 +1,11 @@ +--- sshd.c.old Sun Sep 30 12:33:14 2001 ++++ sshd.c Sun Sep 30 12:26:17 2001 +@@ -795,6 +795,8 @@ + return ssh_main(ac, av); + if (!strcmp( av[0] + l - 3, "ssh")) + return ssh_main(ac, av); ++ if (!strcmp( av[0] + l - 4, "ssh1")) ++ return ssh_main(ac, av); + if (!strcmp( av[0] + l - 3, "scp")) + return scp_main(ac, av); + }