pull using "login:pwd@"

Asked by farfromrefuge on 2011-01-17

Hi,

I setup externals in my branch.

the problem i have is that if i do "bzr pull bzr+ssh//login:<email address hidden>" then the pull start correctly but when it comes to doing the pull on the external, it does this
"External pull bzr+ssh://myexternal.address --directory external
Connected (version 2.0, client OpenSSH_5.5p1)
No revisions to pull.
SSH <email address hidden> password: bzr: ERROR: Connection error: Unable to authenticate to SSH host as <email address hidden>"

I suppose that the problem is that the password is not passed through to the external pull.
Can someone help me?

PS: i cant use pageant on this machine(hudson which doesnt see pageant)

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Externals plugin Edit question
Assignee:
No assignee Edit question
Solved by:
farfromrefuge
Solved:
2011-01-18
Last query:
2011-01-18
Last reply:
2011-01-18
Eugene Tarasenko (etarasenko) said : #1

You have two ways:
1) Put your ssh keys in %HOMEPATH%\.ssh directory, ssh keys must be converted to putty format. %PATH% must be set to putty.exe
2) Put your password in authentication.conf see http://wiki.bazaar.canonical.com/DraftSpecs/AuthenticationRing

farfromrefuge (martin-guillon) said : #2

i have not tried 1) yet but 2) gives me this

password ignored in section [sectionName], use an ssh agent instead

Why does it ignore my password?

if my address is like this bzr+ssh://rep.addres/data/branch
i have put a section like this

[sectionName]
scheme=ssh
host=rep.address
path=/data/branch
user=login
password=pwd

do you see something wrong?

Eugene Tarasenko (etarasenko) said : #3

> I suppose that the problem is that the password is not passed through to the external pull.
Passwords for main branch and for externals may be different.

2) Yes, this case not worked on ssh scheme :( why - I don't know.
Use this config for ask password:

[myexternal.address]
host = myexternal.address
scheme = ssh
user = mguillon

Or try first case.

farfromrefuge (martin-guillon) said : #4

i cant ask for password, this is for a automated build system :s

I ll try using 1)

thanks