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?
Asked
Active
Viewed 468 times
2 Answers
3
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)
Location:
branch root: .
Related branches:
push branch: bzr+ssh://somehost.example.org/home/user/foo/
parent branch: bzr+ssh://somehost.example.org/home/user/foo/
To switch any of these, just issue the push or pull command with the --remember option, such as:
$ bzr pull --remember http://somehost.example.org/~user/foo/
After that, you can verify the new setting with bzr info again.
raimue
- 146
1
Why not using a public key for password-less SSH logins?
Fast instructions:
Generate a new key-pair:
$ ssh-keygen -t rsa
Copy you public key the SSH server:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub YourUserName@SSH-Server-Host