chiark / gitweb /
openssh: Install the ssh-copy-id script
[termux-packages] / packages / openssh / servconf.c.patch
1 diff -u -r ../openssh-6.9p1/servconf.c ./servconf.c
2 --- ../openssh-6.9p1/servconf.c 2015-06-30 22:35:31.000000000 -0400
3 +++ ./servconf.c        2015-07-11 21:40:29.639988543 -0400
4 @@ -208,7 +208,7 @@
5         }
6         /* No certificates by default */
7         if (options->num_ports == 0)
8 -               options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
9 +               options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
10         if (options->address_family == -1)
11                 options->address_family = AF_UNSPEC;
12         if (options->listen_addrs == NULL)
13 @@ -663,7 +663,7 @@
14         u_int i;
15  
16         if (options->num_ports == 0)
17 -               options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
18 +               options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
19         if (options->address_family == -1)
20                 options->address_family = AF_UNSPEC;
21