diff --git a/examples/sample.c b/examples/sample.c index 27fd7c7c..003a0e4e 100644 --- a/examples/sample.c +++ b/examples/sample.c @@ -46,6 +46,8 @@ struct termios terminal; char *pcap_file=NULL; #endif +char *proxycommand; + static int auth_callback(const char *prompt, char *buf, size_t len, int echo, int verify, void *userdata) { char *answer = NULL; @@ -95,6 +97,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)); @@ -106,12 +111,17 @@ static int opts(int argc, char **argv){ // for(i=0;i