version 1.65, 2000/09/07 20:40:30 |
version 1.66, 2000/09/12 20:53:10 |
|
|
fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); |
fprintf(stderr, " -t Tty; allocate a tty even if command is given.\n"); |
fprintf(stderr, " -T Do not allocate a tty.\n"); |
fprintf(stderr, " -T Do not allocate a tty.\n"); |
fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); |
fprintf(stderr, " -v Verbose; display verbose debugging messages.\n"); |
|
fprintf(stderr, " Multiple -v increases verbosity.\n"); |
fprintf(stderr, " -V Display version number only.\n"); |
fprintf(stderr, " -V Display version number only.\n"); |
fprintf(stderr, " -P Don't allocate a privileged port.\n"); |
fprintf(stderr, " -P Don't allocate a privileged port.\n"); |
fprintf(stderr, " -q Quiet; don't display any warning messages.\n"); |
fprintf(stderr, " -q Quiet; don't display any warning messages.\n"); |
|
|
tty_flag = 1; |
tty_flag = 1; |
break; |
break; |
case 'v': |
case 'v': |
|
if (0 == debug_flag) { |
|
debug_flag = 1; |
|
options.log_level = SYSLOG_LEVEL_DEBUG1; |
|
} else if (options.log_level < SYSLOG_LEVEL_DEBUG3) { |
|
options.log_level++; |
|
break; |
|
} else { |
|
fatal("Too high debugging level.\n"); |
|
} |
|
/* fallthrough */ |
case 'V': |
case 'V': |
fprintf(stderr, "SSH Version %s, protocol versions %d.%d/%d.%d.\n", |
fprintf(stderr, "SSH Version %s, protocol versions %d.%d/%d.%d.\n", |
SSH_VERSION, |
SSH_VERSION, |
|
|
fprintf(stderr, "Compiled with SSL (0x%8.8lx).\n", SSLeay()); |
fprintf(stderr, "Compiled with SSL (0x%8.8lx).\n", SSLeay()); |
if (opt == 'V') |
if (opt == 'V') |
exit(0); |
exit(0); |
debug_flag = 1; |
|
options.log_level = SYSLOG_LEVEL_DEBUG; |
|
break; |
break; |
case 'q': |
case 'q': |
options.log_level = SYSLOG_LEVEL_QUIET; |
options.log_level = SYSLOG_LEVEL_QUIET; |