diff options
author | luigi <luigi@FreeBSD.org> | 2001-10-01 01:33:59 +0800 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2001-10-01 01:33:59 +0800 |
commit | abee7e44cc2ef051ff4e7a26281620f0e2dee782 (patch) | |
tree | beaacf2dd2dae22e067e2e6eb15124241fb6f819 /picobsd | |
parent | f9391ba6e1ba5e93d590e59828e23282887cf550 (diff) | |
download | freebsd-ports-gnome-abee7e44cc2ef051ff4e7a26281620f0e2dee782.tar.gz freebsd-ports-gnome-abee7e44cc2ef051ff4e7a26281620f0e2dee782.tar.zst freebsd-ports-gnome-abee7e44cc2ef051ff4e7a26281620f0e2dee782.zip |
If the program is called as ssh1, invoke ssh_main().
This is necessary for scp to work, as scp execs ssh1.
Diffstat (limited to 'picobsd')
-rw-r--r-- | picobsd/ssh-picobsd/files/patch-yc | 11 |
1 files changed, 11 insertions, 0 deletions
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); + } |