Yes. For those who asked: "<a href="http://nebulocity.net">nebulocity.net</a>" is the actual test server. And login "Kyle" is one of our dummy users on Windows. I actually tried this twice before posting: once with my own real (messy) account and then with the unprivileged and clean "Kyle" account to make sure the problem wasn't a fluke caused just my account being messed up. You'll sometimes see me post questions with logs that mention names like Aden, Blair, Cameron, Kathie, Kyle, Ronan and Troy who are the grandkids of one of our IT people. Me? I would have called them user1, user2, user3. I mean the accounts, not the kids. :)<br>
<br>Anyway, the log below is from the second run and I'm sorry if that confused my question.<br><br><br><br><div class="gmail_quote">On Sat, Aug 21, 2010 at 6:44 PM, Maritza Mendez <span dir="ltr"><<a href="mailto:martitzam@gmail.com">martitzam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>Hi again. Thanks to your help today, I have my linux boxes all happy using bzr+ssh to access a remote repository. Cool.<br>
<br>Now I want to get my Windows boxes doing the same. I know there are some cygwin users here, so I'm hoping you can help me out.<br>
<br>First let me say that I am running bzr 2.2.0 with bzr explorer 1.1b1 from the standalone installer and that's how I want to go.<br><br>I have cygwin installed just so that I can generate and distribute keys, following the general advice on the wiki: <a href="http://wiki.bazaar.canonical.com/Bzr_and_SSH" target="_blank">http://wiki.bazaar.canonical.com/Bzr_and_SSH</a><br>
<br>So using cygwin, I did <br><ol><li>'ssh-keygen'</li><li>'ssh-copy-id <a href="mailto:bzr@msever.net" target="_blank">bzr@msever.net</a>' ('<a href="http://mserver.net" target="_blank">mserver.net</a>' hosts the remote repo, which is owned by user 'bzr')</li>
<li>'ssh <a href="mailto:bzr@msever.net" target="_blank">bzr@msever.net</a>' <== success!</li></ol><br>Then I copied the private key id_rsa and the known_hosts file from my cygwin pseudo-home-directory to %USERPROFILE% which resolves to C:\Documents and Setings\martitza\.ssh <br>
<br>The I started bzr explorer and used it to create/edit authentication.conf to say the same thing that works on my linux boxes:<br><br><div style="margin-left: 40px;">[mserver]<br>scheme=ssh<br>host=<a href="http://mserver.net" target="_blank">mserver.net</a><br>
user=bzr<br>password=secret <== real password is different of course<br></div><br>So now I think I am ready to access the repo owned by <a href="mailto:bzr@mserver.net" target="_blank">bzr@mserver.net</a>. But I prompted for the password of <a href="mailto:bzr@mserver.org" target="_blank">bzr@mserver.org</a> anyway. The rsa keypair is not being used!<br>
<br>So I make things simpler. I take bzr explorer out of the equation. I open a DOS cmd windows and say <br><br><div style="margin-left: 40px;">bzr log bzr+ssh://<a href="http://nebulocity.net/home/bzr/test/trunk" target="_blank">nebulocity.net/home/bzr/test/trunk</a><br>
</div><br>and again bzr falls back to prompting me for the <a href="mailto:bzr@mserver.net" target="_blank">bzr@mserver.net</a> password.<br><br><i>Note! At no time did bzr-explorer or the cmd line bzr prompt me for the passphrase for my private key!</i><br>
<br>The log confirms that the RSA keypair is not being used:<br><br><div style="margin-left: 40px;">Sat 2010-08-21 18:07:11 -0700<br>0.079 bazaar version: 2.2.0<br>0.079 bzr arguments: [u'log', u'bzr+ssh://<a href="http://nebulocity.net/home/bzr/test/trunk" target="_blank">nebulocity.net/home/bzr/test/trunk</a>']<br>
0.079 looking for plugins in C:/Documents and Settings/Kyle/Application Data/bazaar/2.0/plugins<br>0.079 looking for plugins in C:/Program Files/Bazaar/plugins<br>0.172 encoding stdout as sys.stdout encoding 'cp437'<br>
0.219 bzr-svn: using Subversion 1.6.6 ()<br>0.329 falling back to default implementation<br><b>[ 2612] 2010-08-21 18:07:11.717 INFO: Connected (version 2.0, client OpenSSH_5.1p1)</b><br><b>0.641 SSH authentication via id_rsa key failed.</b><br>
<b>[ 2612] 2010-08-21 18:07:12.092 WARNING: password ignored in section [nebulocity], use an ssh agent instead</b><br>[ 2612] 2010-08-21 18:07:40.328 INFO: Authentication (password) successful!<br>[ 2612] 2010-08-21 18:07:40.375 INFO: Secsh channel 1 opened.<br>
29.688 encoding stdout as sys.stdout encoding 'cp437'<br>30.438 Transferred: 7kB (5.6kB/s r:4kB w:3kB)<br>30.438 return code 0<br></div><br>Can someone help me understand what needs to be done? <br>I "know" the keys are good because the private one is an exact copy of the one from my cygwin pseudo-home-directory and I can ssh from cygwin to bzr@mserver using just the rsa keys.<br>
I'm pretty sure I put the private key in the right place, because if I remove the known_hosts file (from the same place) bzr notices and complains in the log.<br>Does it mean that the bzr in the standalone installer is not build with using paramiko? <br>
Do I need to use the python-based window packages instead? <br><br>Dazed,<br><font color="#888888">~M<br><br><br>
</font></blockquote></div><br>