Editing
Archive
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Setting up CVS access from Linux/Unix== *To understand the codes for a CVS update, see page 121 of CVS users guide, section A.16.2. # Valuable resource for understanding ssh: #* http://www-106.ibm.com/developerworks/library/l-keyc.html #* http://www-106.ibm.com/developerworks/library/l-keyc2/ # Setting up SSH access from "localbox" to "remotebox": <BR> <U>Localbox:</U> #* ssh-keygen -t rsa [use a passphrase] #: NOTE: Put the "id_rsa" (private file) in ~/.ssh. There should only be one of these on a machine account. #: NOTE: Put the “id_rsa.pub�? (public file) in ~/.ssh as “authorized_keys�? on remote machines; see “Remotebox�? below. #* scp identity.pub skboyd@remotebox: [don't forget the last colon] #* in ~/.bashrc: #* export CVS_RSH=ssh #* export CVSROOT=:ext:skboyd@m177.enme.ucalgary.ca:/localhost/cvsroot #* eval `ssh-agent` {use the funny back single quotes} :<BR><U>Remotebox:</U> #* cat identity.pub >> ~/.ssh/authorized_keys # To avoid writing your passphrase every time you log on, run: #* ssh-add #: Should work if ssh-agent is already running (eval `ssh-agent` in the .bashrc file). # Do the following to limit access to cvs for the users: #* edit the public key installed in the .ssh/authorized_keys file with the following at the beginning of the public key line: #: command="/usr/bin/ssh server" <U>NOTES ABOUT KEYS</U> Remember, the "authorized_keys" file is a concatenation of public (id_rsa.pub) keys, and the "id_rsa" is the private key. Every user on every computer should only have ONE "id_rsa" file, but can have multiple "id_rsa.pub" files concatenated into their "authorized_keys" file. ===Using CVS from a command line=== # To find a difference: #* <code> $ cvs diff mylocalfile.cxx </code> # To add a new file: #* <code> $ cvs add mynewfile.cxx </code> #* <code> $ cvs commit mynewfile.cxx </code> # To update local file: #* <code> $ cvs update -dCP </code> #: or #* <code> $ cvs update -dCP myfile.cxx </code> # To check if a more recent version is available: #* <code> $ cvs diff myfile.cxx </code> #: or #* <code> $ cvs update </code> # To update CVS repository: #* <code> $ cvs commit mylocalfile.cxx </code>
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information