version 1.136, 2001/08/02 15:43:57 |
version 1.137, 2001/08/02 16:14:05 |
|
|
#ifdef SMARTCARD |
#ifdef SMARTCARD |
#include <openssl/engine.h> |
#include <openssl/engine.h> |
#include "scard.h" |
#include "scard.h" |
#endif /* SMARTCARD */ |
#endif |
|
|
extern char *__progname; |
extern char *__progname; |
|
|
|
|
"(default: ~/.ssh/identity)\n"); |
"(default: ~/.ssh/identity)\n"); |
#ifdef SMARTCARD |
#ifdef SMARTCARD |
fprintf(stderr, " -I reader Set smartcard reader.\n"); |
fprintf(stderr, " -I reader Set smartcard reader.\n"); |
#endif /* SMARTCARD */ |
#endif |
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"); |
|
|
case 'I': |
case 'I': |
#ifdef SMARTCARD |
#ifdef SMARTCARD |
options.smartcard_device = xstrdup(optarg); |
options.smartcard_device = xstrdup(optarg); |
#else /* SMARTCARD */ |
#else |
fprintf(stderr, "no support for smartcards.\n"); |
fprintf(stderr, "no support for smartcards.\n"); |
#endif /* SMARTCARD */ |
#endif |
break; |
break; |
case 't': |
case 't': |
if (tty_flag) |
if (tty_flag) |