how I can trace bazaar integration?
I've installed Bazaar on local server, generally it works fine. But I can't use bazaar with it.
I use same public key for launchpad.net and launchpad.dev. But in first case it works fine, in seconde i get:
C:\Documents and Settings\
Connected (version 2.0, client OpenSSH_4.7p1)
Authentication (publickey) failed.
SSH <email address hidden> password:
How I can trace this process to find what's wrong?
Question information
- Language:
- Spanish (Spain) Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2009-11-17
- Last reply:
- 2009-11-18
Tim Penhey (thumper) said : | #1 |
On Sat, 14 Nov 2009 03:07:25 loki wrote:
> New question #89996 on Launchpad Bazaar Integration:
> https:/
>
> I've installed Bazaar on local server, generally it works fine. But I can't
> use bazaar with it.
>
> I use same public key for launchpad.net and launchpad.dev. But in first
> case it works fine, in seconde i get:
>
> C:\Documents and Settings\
> sftp://<email address hidden>
> client OpenSSH_4.7p1)
> Authentication (publickey) failed.
> SSH <email address hidden> password:
You should be pushing to bazaar.
Also, you'll get much better performance if you use bzr+ssh.
Have you told bzr about your launchpad login?
You can do this with:
bzr lp-login loki
Then you can do:
bzr push lp:~loki/supportstuf/trunk
And this will use bzr+ssh.
tim
loki (sergiy-vynnychenko) said : | #2 |
I'm using local server, so there is no difference between bazaar.
There is NO problem with launchpad.NET! It works fine.
problem with local server. I need to check why it ignores submited publick key, but i don't know how to do it.
the actual question is "how i can debug this process on my server"?
Paul Hummer (rockstar) said : | #3 |
It's pretty common for your browser to add line breaks in the field where you add your ssh-key so it's not actually getting added correctly. There is a script at utilities/
Give that a try, see if it works.
loki (sergiy-vynnychenko) said : | #4 |
I've generated private/public keys manually with puttygen (windows app)
on windowsXP client i've registered private key with Pageant
on server i've put public key to ~/.ssh/id_rsa.pub and ~/.ssh/
authentication with Putty works fine.
also i've tested ordinary bazaar repository - branch and push works fine with it.
same public key i've put to my account on lauchpad.dev (there are no break line - i'm sure)
then i've decided to test bazaar.
C:\Documents and Settings\
Connected (version 2.0, client OpenSSH_4.7p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: Permission denied: "~loki/
it seems it used authentication from my ordinary ubuntu account like on scheme
http://
is thiss normal?
Gavin Panella (allenap) said : | #5 |
Could you try the following:
1. Start Launchpad with make run_all
2. Run: utilities/
3. Make sure there's no entry in ~/.ssh/config for bazaar.
4. Run: bzr info bzr+ssh://<email address hidden>:5022/
All being well, you should get:
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>:5022/".
loki (sergiy-vynnychenko) said : | #6 |
server:
_______
1.
loki@ubu:
username: fred
email: <email address hidden>
password: test
teams:
Registered SSH key: /home/loki/
loki@ubu:
_______
2.
loki@ubu:
1 GSSAPIAuthentic
2 #Host bazaar.
3 # Hostname launchpad.dev
4 # HostKeyAlias bazaar.
5 # User mark
6 # Port 5022
7 # IdentityFile ~/.ssh/
_______
3.
C:\Documents and Settings\
bzr: ERROR: Unable to connect to SSH host bazaar.
and same on linux:
loki@ubu:
ssh: connect to host bazaar.
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
and
/etc/init.d/ssh restart
has no effect
ok, something not well
loki (sergiy-vynnychenko) said : | #7 |
btw
on default port FRED not works!
C:\Documents and Settings\
Connected (version 2.0, client OpenSSH_4.7p1)
Authentication (publickey) failed.
but LOKI works:
C:\Documents and Settings\
Connected (version 2.0, client OpenSSH_4.7p1)
Authentication (publickey) successful!
Secsh channel 1 opened.
bzr: ERROR: Not a branch: "bzr+ssh://<email address hidden>/".
bcs loki has public key on ~/.ssh/
Gavin Panella (allenap) said : | #8 |
Hi loki,
~/.ssh/
I notice that you're running the ssh command from a Windows machine. I suggest you try the steps again from the same host that is running Launchpad. In the default development configuration, Launchpad only listens on the loopback (localhost) network interface, and is not available remotely. If you want to make Launchpad available over the network, you'll need to set up a different configuration (grep for LPCONFIG as a start).
By the way, we only support setting up the development environment of Launchpad. We simply do not have the resources to help put instances of Launchpad into production. It is a large and complex system, and needs a dedicated team of engineers to maintain it; it is a significant undertaking.
If you are seeking to run a private Launchpad, I heartily encourage you to ask about privacy features and commercial options on Launchpad.net; it's likely to be *much* cheaper than doing it yourself, and has the support of the team that built it.
Gavin.
Can you help with this problem?
Provide an answer of your own, or ask loki for more information if necessary.