version 1.189, 2019/01/16 23:23:45 |
version 1.190, 2019/01/21 22:50:42 |
|
|
|
|
fprintf(stderr, |
fprintf(stderr, |
"usage: %s [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]\n" |
"usage: %s [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]\n" |
" [-D sftp_server_path] [-F ssh_config] " |
" [-D sftp_server_path] [-F ssh_config] [-i identity_file]\n" |
"[-i identity_file] [-l limit]\n" |
" [-J destination] [-l limit] [-o ssh_option] [-P port]\n" |
" [-o ssh_option] [-P port] [-R num_requests] " |
" [-R num_requests] [-S program] [-s subsystem | sftp_server]\n" |
"[-S program]\n" |
" destination\n", |
" [-s subsystem | sftp_server] destination\n", |
|
__progname); |
__progname); |
exit(1); |
exit(1); |
} |
} |
|
|
infile = stdin; |
infile = stdin; |
|
|
while ((ch = getopt(argc, argv, |
while ((ch = getopt(argc, argv, |
"1246afhpqrvCc:D:i:l:o:s:S:b:B:F:P:R:")) != -1) { |
"1246afhpqrvCc:D:i:l:o:s:S:b:B:F:J:P:R:")) != -1) { |
switch (ch) { |
switch (ch) { |
/* Passed through to ssh(1) */ |
/* Passed through to ssh(1) */ |
case '4': |
case '4': |
|
|
break; |
break; |
/* Passed through to ssh(1) with argument */ |
/* Passed through to ssh(1) with argument */ |
case 'F': |
case 'F': |
|
case 'J': |
case 'c': |
case 'c': |
case 'i': |
case 'i': |
case 'o': |
case 'o': |