mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
If the program is called as ssh1, invoke ssh_main().
This is necessary for scp to work, as scp execs ssh1.
This commit is contained in:
parent
a51a04711f
commit
95afb17482
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48287
1 changed files with 11 additions and 0 deletions
11
picobsd/ssh-picobsd/files/patch-yc
Normal file
11
picobsd/ssh-picobsd/files/patch-yc
Normal file
|
@ -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);
|
||||
}
|
Loading…
Add table
Reference in a new issue