summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
Diffstat (limited to 'scp.c')
-rw-r--r--scp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 3de743e3a..3a651c664 100644
--- a/scp.c
+++ b/scp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: scp.c,v 1.189 2017/04/28 03:21:12 millert Exp $ */ 1/* $OpenBSD: scp.c,v 1.190 2017/04/30 23:28:12 djm Exp $ */
2/* 2/*
3 * scp - secure remote copy. This is basically patched BSD rcp which 3 * scp - secure remote copy. This is basically patched BSD rcp which
4 * uses ssh to do the data transfer (instead of using rcmd). 4 * uses ssh to do the data transfer (instead of using rcmd).
@@ -404,7 +404,11 @@ main(int argc, char **argv)
404 switch (ch) { 404 switch (ch) {
405 /* User-visible flags. */ 405 /* User-visible flags. */
406 case '1': 406 case '1':
407 fatal("SSH protocol v.1 is no longer supported");
408 break;
407 case '2': 409 case '2':
410 /* Ignored */
411 break;
408 case '4': 412 case '4':
409 case '6': 413 case '6':
410 case 'C': 414 case 'C':