[MERGE][1.2][#185394] Disconnect and reconnect the smart medium after getting "unknown method" error from server if a request body was sent.
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Feb 8 23:56:07 GMT 2008
>>>>> "john" == John Arbash Meinel <john at arbash-meinel.com> writes:
<snip/>
>> But for SSH there are already 4 ways to address the problem:
>> - put user:pass in urls (cough),
>> - use auth.conf,
>> - use a caching agent like seahorse,
>> - use host keys.
john> Right. Also, this only happens when a newer client is
john> connecting to an older server. Using a newer server
john> will "just work" the way we want it to.
Good.
>>
>> So this may not be *so* severe after all ;)
>>
>> That beings said, when we use paramiko, *we* prompt for the
>> password but I'm afraid that we don't save it in the shared
>> credentials...
<snip/>
john> Interesting. I suppose we are prompting at the wrong level?
Lower than where we can easily save it yes, wrong is a bit hard
though ;) It occurs only if no host key can be found and we make
that check for paramiko only (based on a quick reading of the
code, I may have missed some details).
Vincent
More information about the bazaar
mailing list