← Back to team overview

bzr-windows team mailing list archive

Re: problems with ssh bundled with bzr for windows

 

Hi Adrian -

I am talking to a Mac OS X machine, which runs OpenSSH_5.2p1, OpenSSL 0.9.8r 8 Feb 2011

I should also note that I have a couple XP PCs where I have installed bazaar using cygwin, and have no similar connection problems. I installed openssh, libssh2_1, autossh, crypto, and paramiko, in addition to bzr.  However, I installed the same cygwin libraries on a Windows 7 machine, and I do have the connection problems (and lots of verbose messages on each use of ssh).  So its unclear if the problem is with the OS configuration on a few of these PCs (but not all), or if there is something non-optimal about the libraries chosen for installation with bazaar, or if it is just an issue with OpenSSH on some Windows machines (since it works fine on all Macs tested and many Windows machines).

I don't think my users will find generating public keys very easy, unless I could pass a command line argument to bzr to call sftp using a key.  I suppose I could try to do surgery on their .ssh files with my installer, but then I worry about the users accidentally getting into our server (clearly they have the password, they get in if they knew what they were doing, but I worry more about these users doing something by total accident).

Thanks
Steve




On May 16, 2012, at 6:59 PM, Adrian wrote:

> On Wed, May 16, 2012 at 7:16 PM, Steve Van Hooser <vanhoosr@xxxxxxxxxxxx> wrote:
> 
>> unable to authenticate to SSH host as USERNAME@MYMACHINE No existing session
>> 
>> Mac/Unix users don't seem to have a similar problem.  Is there something about the SSH that is bundled with Bazaar that has this problem?  Or is it a problem with SSH on Windows in general, or a bazaar problem?  Does anyone have any insight?
>> 
> 
> I've not seen this problem, but I'll note that all my bzr+ssh access
> is done using public-key authentication (using Pageant, the key agent
> for Putty). So maybe if you can configure public-key auth it will
> improve matters (as well as being convenient).
> 
> What kind of ssh server are you talking to? I've only tried Bazaar
> with openssh (running on Linux or Windows / Cygwin via the copssh
> package).



Follow ups

References