Quick Bazaar on Windows over SSH
Easy notes on Bazaar+sftp
Quick notes on how to set up a version control system using Bazaar with just SFTP and Windows client.
- Get a Unix/Linux machine that you’ve an account and that supports SSH.
- Create a directory, say /home/loginid/repository
- On your Windows machine, download pageant.exe and puttygen.exe (at a minimum) from PuTTy site.
- Start puttygen.exe, generate your private and public key pair. Save private key somewhere. C:\Documents and Settings\\.ssh\id_rsa is a good choice. Exit puttygen.exe.
- In your server, make a .ssh directory, create a new file called authorized_keys, paste the public key into that file without any line breaks.
- Start pageant.exe. Right click on the icon (terminal with a hat) on the system tray, add key and choose the private key file.
- Download and install Bazaar Windows version.
- Start it Bzr in command line.
- Create the remote repository like bzr init sftp://username@remote/home/loginid/repository
- Create a local directory, create a repository there too.
- Add some files to local repository.
- When you want to push it up to remote, do bzr push sftp://username@remote/home/loginid/repository
For more info, read Bazaar doc.
Posted: January 09, 2010 09:05 AM