]> git.pld-linux.org Git - packages/openssh.git/blame - openssh-set_12.patch
d4ee48afaf5607e03cbd65af30cf6752 openssh-pam_session.patch
[packages/openssh.git] / openssh-set_12.patch
CommitLineData
5cdc1302
PG
1--- ./scp.c.org Sat Sep 8 23:37:22 2001
2+++ ./scp.c Sun Sep 9 00:07:36 2001
3@@ -244,9 +244,11 @@
4 addargs("-oFallBackToRsh no");
5
6 fflag = tflag = 0;
7- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != -1)
8+ while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q1246S:o:")) != -1)
9 switch (ch) {
10 /* User-visible flags. */
11+ case '1':
12+ case '2':
13 case '4':
14 case '6':
15 case 'C':
16@@ -958,7 +960,7 @@
17 usage()
18 {
19 (void) fprintf(stderr, "usage: scp "
20- "[-pqrvBC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2\n"
21+ "[-pqrvBC1246] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2\n"
22 " or: scp [options] f1 ... fn directory\n");
23 exit(1);
24 }
25--- ./scp.1.org Sun Sep 9 00:03:53 2001
26+++ ./scp.1 Sun Sep 9 00:05:56 2001
27@@ -19,7 +19,7 @@
28 .Nd secure copy (remote file copy program)
29 .Sh SYNOPSIS
30 .Nm scp
31-.Op Fl pqrvC46
32+.Op Fl pqrvC1246
33 .Op Fl S Ar program
34 .Op Fl P Ar port
35 .Op Fl c Ar cipher
36@@ -110,6 +110,14 @@
37 .It Fl o Ar option
38 The given option is directly passed to
39 .Xr ssh 1 .
40+.It Fl 1
41+Forces
42+.Nm
43+to use SSH1 only.
44+.It Fl 2
45+Forces
46+.Nm
47+to use SSH2 only.
48 .It Fl 4
49 Forces
50 .Nm
This page took 0.094852 seconds and 4 git commands to generate.