Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?

share|improve this question
up vote 3 down vote accepted

You can use different branch URLs for push and pull. First check the current related branches with bzr info:

$ bzr info
Standalone tree (format: 2a)
  branch root: .

Related branches:
    push branch: bzr+ssh://
  parent branch: bzr+ssh://

To switch any of these, just issue the push or pull command with the --remember option, such as:

$ bzr pull --remember

After that, you can verify the new setting with bzr info again.

share|improve this answer

Why not using a public key for password-less SSH logins?

Fast instructions:

  1. Generate a new key-pair:

    $ ssh-keygen -t rsa

  2. Copy you public key the SSH server:

    $ ssh-copy-id -i ~/.ssh/ YourUserName@SSH-Server-Host

Permanent ssh-add keys with password

share|improve this answer
it is a passphrase request for the key, actually – int_ua May 30 '12 at 22:10
I have linked a question of mine to permanent store keys with password – pl1nk May 30 '12 at 22:27
Looks promising :) Thanks, I'll check it – int_ua Jun 1 '12 at 9:14
I don't see how this answer is related to the question. – Raim Jun 13 '12 at 8:18
@Raim This is how you set up ssh to grab the files using an ssh key instead of a password. When Bazaar is configured to go over ssh this eliminates the prompt for the ssh password. – k-den Mar 31 '15 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.