Re: Method to enable Quiet (General questions)
Here's the code from putty source SSH.C
/*
* Now is a convenient point to spew any banner material
* that we've accumulated. (This should ensure that when
* we exit the auth loop, we haven't any left to deal
* with.)
*/
{
int size = bufchain_size(&ssh->banner);
/*
* Don't show the banner if we're operating in
* non-verbose non-interactive mode. (It's probably
* a script, which means nobody will read the
* banner _anyway_, and moreover the printing of
* the banner will screw up processing on the
* output of (say) plink.)
*/
if (size && (flags & (FLAG_VERBOSE | FLAG_INTERACTIVE))) {
char *banner = snewn(size, char);
bufchain_fetch(&ssh->banner, banner, size);
c_write_untrusted(ssh, banner, size);
sfree(banner);
}
bufchain_clear(&ssh->banner);
}
So I guess the question really is if you set the Command method, does Wod reset the interactive flag?
Complete thread:
- Method to enable Quiet - Michael, 2007-10-31, 21:28
- Re: Method to enable Quiet - wodDamir, 2007-10-31, 21:38
- Re: Method to enable Quiet - Michael, 2007-10-31, 22:10
- Re: Method to enable Quiet - Michael, 2007-10-31, 22:15
- Re: Method to enable Quiet - wodDamir, 2007-10-31, 22:25
- Re: Method to enable Quiet - Michael, 2007-10-31, 22:15
- Re: Method to enable Quiet - Michael, 2007-10-31, 22:10
- Re: Method to enable Quiet - wodDamir, 2007-10-31, 21:38