Add an example for how to use cvs(1) to checkout code over a ssh channel.

This is useful because anonymous cvs over ssh is more secure, as we can
identify server's identity, etc.

TODO:	(1) More comments on why and when to use cvs over ssh;
	(2) I think it might be a good idea to publish servers'
	    fingerprints as well for security concerns.

Submitted by:	Brad Davis <so14k at so14k.com>
PR:		72018
This commit is contained in:
Xin LI 2004-11-05 17:22:35 +00:00
parent bfc7173bfd
commit ea0f10f559
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22793

View file

@ -445,6 +445,16 @@
</screen>
</example>
<example>
<title>Using SSH to check out the <filename>src/</filename>
tree:</title>
<screen>&prompt.user; <userinput>cvs -d freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs co src</userinput>
The authenticity of host 'anoncvs.freebsd.org (128.46.156.46)' can't be established.
DSA key fingerprint is 52:02:38:1a:2f:a8:71:d3:f5:83:93:8d:aa:00:6f:65.
Are you sure you want to continue connecting (yes/no)? <userinput>yes</userinput>
Warning: Permanently added 'anoncvs.freebsd.org' (DSA) to the list of known hosts.</screen>
</example>
<example>
<title>Checking Out the Version of &man.ls.1; in the 3.X-STABLE
Branch:</title>