What ports to open for bazaar?

Asked by Jon Loldrup on 2011-07-03

I recently installed ufw firewall on my ubuntu 10.04 based bazaar repository server. It immediately closed all ports.. I have now reopened port 22, but this doesn't seem to save my day when I want to use bazaar. When I try to commit to the server using sftp, I get this error:

wl6-42:com.futboloco frederikmadsen$ bzr commit -m"buggy as always :)"
ssh: connect to host 78.47.189.114 port 22: Connection refused
ssh: connect to host 78.47.189.114 port 22: Connection refused
bzr: ERROR: Unable to connect to target of bound branch BzrBranch7(file:///Users/frederikmadsen/com.futboloco/) => sftp://bzr@78.47.189.114/home/bzr/com.futboloco/: Unable to connect to SSH host 78.47.189.114; EOF during negotiation

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Jon Loldrup
Solved:
2011-07-04
Last query:
2011-07-04
Last reply:
2011-07-03
Martin Pool (mbp) said : #1

maybe you need to do "sudo service ssh start"
On Jul 3, 2011 9:15 AM, "Jon Loldrup" <email address hidden>
wrote:
> New question #163586 on Bazaar:
> https://answers.launchpad.net/bzr/+question/163586
>
> I recently installed ufw firewall on my ubuntu 10.04 based bazaar
repository server. It immediately closed all ports.. I have now reopened
port 22, but this doesn't seem to save my day when I want to use bazaar.
When I try to commit to the server using sftp, I get this error:
>
> wl6-42:com.futboloco frederikmadsen$ bzr commit -m"buggy as always :)"
> ssh: connect to host 78.47.189.114 port 22: Connection refused
> ssh: connect to host 78.47.189.114 port 22: Connection refused
> bzr: ERROR: Unable to connect to target of bound branch
BzrBranch7(file:///Users/frederikmadsen/com.futboloco/) => sftp://
bzr@78.47.189.114/home/bzr/com.futboloco/: Unable to connect to SSH host
78.47.189.114; EOF during negotiation
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.

Jon Loldrup (loldrup) said : #2

hmm, now it works.. I didn't really change anything..