diff --git a/examples/sample.c b/examples/sample.c index 20abe318..b7f6074d 100644 --- a/examples/sample.c +++ b/examples/sample.c @@ -42,6 +42,8 @@ struct termios terminal; char *pcap_file=NULL; +char *proxycommand; + static int auth_callback(const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata) { char *answer = NULL; @@ -91,6 +93,9 @@ static void usage(){ " -r : use RSA to verify host public key\n" #ifdef WITH_PCAP " -P file : create a pcap debugging file\n" +#endif +#ifndef _WIN32 + " -T proxycommand : command to execute as a socket proxy\n" #endif , ssh_version(0)); @@ -102,11 +107,16 @@ static int opts(int argc, char **argv){ // for(i=0;i