Any way to over-ride the "-q" option to debug a possible race condition?
Laurence Marks
L-marks at northwestern.edu
Fri Jul 19 01:05:20 EST 2013
Thanks, very nice and it even works
#!/bin/bash
a=`echo $@ | sed -e 's/-q//'`
ssh $a
On Thu, Jul 18, 2013 at 9:39 AM, Flavien <flavien-ssh at lebarbe.net> wrote:
> Laurence Marks ecrivait :
>> [...]
>>
>> The most obvious thing I can think of to do is include LogLevel DEBUG
>> in my .ssh/config to try and trace what is going on, but the ssh
>> process is being launched with a "-q" embedded in it which is
>> over-riding this. I am hopeful that there is something I can set to
>> short-circuit the "-q", although I realise that the chance of their
>> being some undocumented option is small (but finite).
>> [....]
>
> If you cannot change the command line that calls ssh with "-q", a
> warkaround can be to change the ssh binary itself to a wrapper that
> calls ssh without the "-q".
> Just move the binary to ssh.bin, and have a small shell script named
> ssh that removes the "-q" option before "exec"-ing ssh.bin.
>
> Hope this helps,
>
> Flavien.
--
Professor Laurence Marks
Department of Materials Science and Engineering
Northwestern University
www.numis.northwestern.edu 1-847-491-3996
"Research is to see what everybody else has seen, and to think what
nobody else has thought"
Albert Szent-Gyorgi
More information about the openssh-unix-dev
mailing list