CVS
Contents
Using CVS
The reprap CVS server is access by SSH with public key authentication to avoid password issues.
SSH Configuration
The server runs on a non-standard port. The easiest way to make ssh use the correct port when called from CVS is to add the following lines to your ~/.ssh/config file:
host reprap.voodoo.co.nz port 922
CVS Configuration
Checking out code is accomplished with commands something this:
$ export CVSROOT=:ext:[email protected]:/cvsroot $ export CVS_RSH=ssh $ cvs co reprap
Getting your account set up
The following details are needed:
- Your IP address, addresses, masks or netblocks. This is so the firewall will let your connections through.
- Your SSH public key. If you don't already have one, you can create one
- Issue the command ssh-keygen -t rsa
- This will create ~/.ssh/id_rsa.pub
- Send the IP address in an [email to me|mailto:[email protected] email to me] and attach the public key. Please do not send me the private key (~/.ssh/id_rsa).
If it doesn't work
The first thing to try:
$ telnet reprap.voodoo.co.nz 922
You should get a connect and see an ssh server version number. If there is no connection, then the firewall is blocking you. Double check the address.
Next try this:
$ ssh -p 922 [email protected]
It should give you a shell prompt with no prompting for a password. [Let me know|mailto:[email protected] Let me know] if it doesn't. It probably means the public key or username is incorrect, or that your public key doesn't match your private key.