In article <E1HPGAm-00087E-M7@pecan.exetel.com.au>, "Paul" <pdeleeuw@deleeuw.com.au> writes:
Do you have an account on dreamhost? That's all it takes to have CVS access, I think. You probably need to get putty/pageant configured properly in order to get going.
I'm not sure that I know what putty/pageant is... Sorry about my ignorance.
OK, here's how things work: your machine <--> TortoiseCVS <--> secure shell <--> bazooka.dreamhost.com In order for CVS to work securely over the network, it uses a secure shell connection to the remote host. In your case, you'll use TortoiseCVS as the client on your machine to open the secure shell connection for the CVS commands like "checkout", "diff", "commit", etc. The secure shell is setup by means of a public/private key pair. You keep the private key on your machine (some people prefer to keep them on a USB drive that's on their keyring if they want to keep their private key physically secure). The public key is placed in a file on bazooka.dreamhost.com so that bazooka can authenticate that incoming connections are really coming from you and not a bad guy. Its safe to spread the public key around. Noone can imitate you without having your private key, which you keep secure. putty is a secure shell client for Windows. It contains a few utility programs for creating and maintaining public/private key pairs. You use putty to create your private/public key pair and put the public key on bazooka in $HOME/.ssh/authorized_keys. Your public key is placed in this file to allow the secure shell on bazooka to find it and authenticate the incoming remote connection from your Windows machine. The whole point of the authentication process is to 1) provide a secure connection that's protected with encryption and 2) provide a means for you to execute shell commands on the remote machine without having to provide login credentials for each command. So putty is a secure shell connection with some public/private key pair utilities. What's pageant? Well, the way that you get to use your private key in this exchange is by entering the pass phrase used to generate the private key. Its best for this pass phrase to be a fairly long text string in order to provide lots of bits for seeding the key generation algorithm. However, typing long pass phrases on each CVS command is a pain. Pageant is a utility that runs in the background and (conceptually) answers the pass phrase request each time you interact with CVS. So where does Pageant get the pass phrase? When you run pageant you point it at a private key file and it prompts you once for the pass phrase to authenticate your use of the key. You enter the pass phrase and then pageant runs in the background for you to authenticate each outgoing connection to bazooka. (Or any other machine so long as it has access to your public key.) In my case I put pageant in my Startup group so that it launches every time I login to Windows. I enter my pass phrase once and leave pageant running and then I can do all my CVS operations just as if everything were stored locally on my machine.
Do Start / Run... / telnet.exe bazooka.dreamhost.com
Then login using your credentials. Does that work?
I get the same results as I do for ftp.
Yes, it puts you in your home directory when you login. However, you can see other people's home directories from the shell, while the ftp connection only lets you see your directory. I just wanted to validate that you can establish a login to bazooka. Regarding compiling your stdio code if you post the errors I can probably help you out. Did you get my earlier email on 01-Feb-07 about setting up CVS? Here it is again: Date: Thu, 01 Feb 2007 11:17:39 -0700 To: "Paul" <pdeleeuw@deleeuw.com.au> cc: "'Jonathan Osuch'" <osuchj@avalon.net>, twegner@swbell.net From: Richard <legalize@xmission.com> Organ: multi-cellular, biological Subject: Re: DreamHost Shell Account Activated Re: Your message of Fri, 02 Feb 2007 04:42:10 +1100. <016a01c74628$4e762430$0301a8c0@Production> --------- In article <016a01c74628$4e762430$0301a8c0@Production>, "Paul" <pdeleeuw@deleeuw.com.au> writes: > I got into the site using ftp, but there's nothing there. All folders are > empty. How do I access the copy of FRACTINT source? What do I do there? :) External distributions of source, i.e. when there is a released version of fractint, have previously been made available as compressed source archives (ZIP files usually). During active development however, we use CVS. Are you familiar with CVS? If not, there is documentation here: <http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs.html> On Windows, most people use CVS through an integrated Windows shell extension called TortoiseCVS <http://www.tortoisecvs.org/>. Its what I use and I gather its also what Jonathan and Tim use as well. If you download TortoiseCVS, then you don't need to download/install CVS separately, but it can be useful to occasionally refer to that documentation link above anyway. I have a version of this printed out and I occasionally get it out to do something obscure, but most of the time I just work from Tortoise without any problems. TortoiseCVS (and CVS, too) work with a secured shell connection to the machine that contains the source code repository. (The repository holds all revisions of the source files and other information necessary for managing the versions.) The repository is on bazooka.dreamhost.com, so you need to get things setup so that you can invoke a secure shell command to that host. In order to do that, you need to setup an SSH2 key (SSH1 keys won't work) so that you can authenticate yourself to the remote machine. When you invoke a CVS operation, it will invoke SSH to do the operation and authentication. I use pageant to authenticate me automatically so that I don't have to keep typing my pass phrase/password every time I do a CVS operation. You can get pageant here: <http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.59-installer.exe> and more information about pageant/putty is available here: <http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html> In summary, do the following: 1. download and install putty 0.59 2. download and install TortoiseCVS 3. create a private/public key pair with puttygen 4. Keep the private key somewhere on your machine in a secure location 5. Upload the public key (*NOT* the private key) to your account on bazooka.dreamhost.com: i) create a folder .ssh if it doesn't exist ii) create the authorized_keys file in that directory and add your key to it as one long line (use cat or vi) 6. Use putty to connect to dreamhost for the first time through SSH. This will put a "host fingerprint" on your local machine. This only happens the first time, but you need to do that first for CVS to work. Now you should be all setup to use CVS and checkout source code from bazooka. Go to some folder and context menu in the Windows shell. You should see an item on the menu that says "CVS checkout...". I use the following CVSROOT on that dialog: :ext:legalize@bazooka.dreamhost.com:/home/twegner/fractint/fractcvs The combo boxes below the CVSROOT textbox let you compose the pieces individually: Protocol Secure shell (:ext:) Server bazooka.dreamhost.com Repository folder /home/twegner/fractint/fractcvs User name pdeleeuw Module fractint Once you get this working, you will have checked out the HEAD. To checkout the branch, do the CVS checkout as above, but on the Revision tab select the "Choose branch or tag" radio button and enter the name of the branch. (The Update list... button usually gets you a list of branch/tag names but sometimes it doesn't.) I'm working on the branch named rt-refactor-device. That ought to keep you busy for a while :-) -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/>