FFFF spec/cvs: added Check Your CVS Setup and a subsection on Authentication · mwjacksonmsft/csswg-wiki@ca3e4dc · GitHub
Skip to content

Commit ca3e4dc

Browse files
committed
spec/cvs: added Check Your CVS Setup and a subsection on Authentication
1 parent 7a924e1 commit ca3e4dc

1 file changed

Lines changed: 136 additions & 0 deletions

File tree

spec/cvs.txt

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,142 @@ cvs -m "COMMIT MESSAGE HERE" commit
429429

430430
where you replace ''COMMIT MESSAGE HERE'' with a message that applies to all the files you're checking in.
431431

432+
433+
434+
===== Check Your CVS Setup =====
435+
"cd" to a directory that you have a checkout and try a
436+
437+
<code bash>
438+
cvs version
439+
</code>
440+
441+
IF you get an error message like:
442+
443+
<code bash>
444+
Client: Concurrent Versions System (CVS) 1.11.18 (client/server)
445+
lionel-hutz.w3.org: Operation timed out
446+
Server: cvs [version aborted]: end of file from server (consult above messages if any)
447+
</code>
448+
449+
THEN something is wrong with your CVS setup probably.
450+
451+
TRY:
452+
453+
<code bash>
454+
echo $CVS_RSH
455+
</code>
456+
457+
IF it shows just a blank line then you need to set it:
458+
459+
<code bash>
460+
export CVS_RSH=ssh
461+
</code>
462+
463+
try again.
464+
465+
<code bash>
466+
cvs version
467+
</code>
468+
469+
470+
471+
==== Authenticity Of Host Cant Be Established ====
472+
(On MacOSX 10.4 at least)
473+
474+
IF you see a message like:
475+
476+
<code bash>
477+
The authenticity of host 'dev.w3.org (128.30.52.19)' can't be established.
478+
RSA key fingerprint is fb:30:ab:09:1c:b3:1a:74:93:67:57:fd:69:16:0b:97.
479+
Are you sure you want to continue connecting (yes/no)?
480+
</code>
481+
482+
Verify that the fingerprint is correct and then type in
483+
484+
<code bash>
485+
yes
486+
</code>
487+
488+
and press return.
489+
490+
you may see a message like:
491+
492+
<code bash>
493+
Warning: Permanently added 'dev.w3.org' (RSA) to the list of known hosts.
494+
</code>
495+
496+
You may be asked:
497+
<code bash>
498+
Enter passphrase for key '/Volumes/identity/osxusers/tantek/.ssh/id_dsa':
499+
</code>
500+
501+
Enter your pass phrase for your key.
502+
503+
504+
IF you keep getting asked that for every CVS command you run,
505+
506+
THEN try
507+
508+
<code bash>
509+
ssh-add ~/.ssh/id_dsa
510+
</code>
511+
512+
you might get an error like:
513+
514+
<code bash>
515+
Could not open a connection to your authentication agent.
516+
</code>
517+
518+
TRY
519+
520+
<code bash>
521+
ssh-agent -s
522+
</code>
523+
524+
Now you might see something like:
525+
526+
<code bash>
527+
SSH_AUTH_SOCK=/tmp/ssh-VWXYZVWXYZ/agent.555; export SSH_AUTH_SOCK;
528+
SSH_AGENT_PID=333; export SSH_AGENT_PID;
529+
echo Agent pid 333;
530+
</code>
531+
532+
(numbers and ssh-*** string obscured with fakes for the sake of documentation).
533+
534+
Now try
535+
536+
<code bash>
537+
eval `ssh-agent -s`
538+
ssh-add ~/.ssh/id_dsa
539+
</code>
540+
541+
and you might see a message like
542+
543+
<code bash>
544+
Enter passphrase for /Volumes/identity/osxusers/tantek/.ssh/id_dsa:
545+
</code>
546+
547+
Enter your pass phrase for your key.
548+
549+
Then you might see a message like this (at least on Mac OS X)
550+
551+
<code bash>
552+
Identity added: /Users/USERNAME/.ssh/id_dsa (/Users/USERNAME/.ssh/id_dsa)
553+
</code>
554+
where USERNAME is your username alias on the system.
555+
556+
557+
Now try:
558+
<code bash>
559+
cvs version
560+
</code>
561+
562+
And you should get messages like:
563+
<code bash>
564+
Client: Concurrent Versions System (CVS) 1.11.18 (client/server)
565+
Server: Concurrent Versions System (CVS) 1.11.22 (client/server)
566+
</code>
567+
432568
====== See Also ======
433569
* [[test/cvs|Guide to CVS]] - some good command overviews, except IGNORE the bits about "$CVSROOT" and "Logging in".
434570
* [[http://annevankesteren.nl/2010/08/w3c-cvs|Anne van Kesteren: Setting up CVS for W3C]]

0 commit comments

Comments
 (0)