bzr+ssh is asking for a password instead of looking in authentication.conf

Asked by Bryant

I've been trying to get authentication.conf set up so I don't have to log in every time I do a push / pull. Currently this is what the file looks like:

[DEFAULT]
password=xxx

Pretty simple. From what I read in the docs, scheme, host, and user only need to be specified if I'm setting this up for different realms, right? So this ought to attempt to use the password provided here for everything. But when I do the following,

bzr branch bzr+ssh://host.com/path/to/my/branch

it continues to ask for a password. Why? Should this attempt to look in the authentication file and pick up the password from there?

And yes, I have tried filling out all the fields mentioned above (scheme=ssh, host=myhost, user=me), but none of these helped the matter. It always asks for the password.

Also worth noting is that I do already have RSA keys set up for this server. I can ssh into it without providing my password just fine. But when I attempt this command, it doesn't work. Grrrr....

Please let me know if you have any suggestions.

Question information

Language:
Spanish (Colombia) Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-02-22 23:41, Bryant wrote:
> New question #222586 on Bazaar:
> https://answers.launchpad.net/bzr/+question/222586
>
> I've been trying to get authentication.conf set up so I don't have
> to log in every time I do a push / pull. Currently this is what
> the file looks like:
>

bzr+ssh does not read passwords from authentication.conf. If you want
to set up automatic login, we would recommend looking into ssh keys.

John
=:->

> [DEFAULT] password=xxx
>
> Pretty simple. From what I read in the docs, scheme, host, and
> user only need to be specified if I'm setting this up for different
> realms, right? So this ought to attempt to use the password
> provided here for everything. But when I do the following,
>
> bzr branch bzr+ssh://host.com/path/to/my/branch
>
> it continues to ask for a password. Why? Should this attempt to
> look in the authentication file and pick up the password from
> there?
>
> And yes, I have tried filling out all the fields mentioned above
> (scheme=ssh, host=myhost, user=me), but none of these helped the
> matter. It always asks for the password. Please let me know if
> you have any suggestions.
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEoUF4ACgkQJdeBCYSNAAPtXgCgxgoO3oYW+ha+deFQpvvWJEqv
txIAn2v3YuUVnOES7XChv8p5uSouQ9ha
=vHDb
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Bryant for more information if necessary.

To post a message you must log in.