Gentoo Archives: gentoo-doc-cvs

From: swift <swift@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: shb-services.xml
Date: Sat, 11 Mar 2006 16:45:00
Message-Id: 200603111644.k2BGijPW003941@robin.gentoo.org
1 swift 06/03/11 16:44:44
2
3 Modified: shb-services.xml
4 Log:
5 Explain how to add a key to the authorized_keys file, noted by Nathan L. Adams
6
7 Revision Changes Path
8 1.3 xml/htdocs/doc/en/security/shb-services.xml
9
10 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/security/shb-services.xml?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=gentoo
11 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/security/shb-services.xml?rev=1.3&content-type=text/plain&cvsroot=gentoo
12 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/security/shb-services.xml.diff?r1=1.2&r2=1.3&cvsroot=gentoo
13
14 Index: shb-services.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/security/shb-services.xml,v
17 retrieving revision 1.2
18 retrieving revision 1.3
19 diff -u -r1.2 -r1.3
20 --- shb-services.xml 1 Jun 2005 17:42:46 -0000 1.2
21 +++ shb-services.xml 11 Mar 2006 16:44:44 -0000 1.3
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/security/shb-services.xml,v 1.2 2005/06/01 17:42:46 neysx Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/security/shb-services.xml,v 1.3 2006/03/11 16:44:44 swift Exp $ -->
26 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
27
28 <!-- The content of this document is licensed under the CC-BY-SA license -->
29 @@ -7,8 +7,8 @@
30
31 <sections>
32
33 -<version>1.0</version>
34 -<date>2005-05-31</date>
35 +<version>1.1</version>
36 +<date>2006-03-11</date>
37
38 <section>
39 <title>Apache</title>
40 @@ -438,9 +438,16 @@
41 <path>id_dsa</path> is your private key and should be kept from other people
42 than yourself. The other file <path>id_dsa.pub</path> is to be distributed to
43 every server that you have access to. Add the key to the users home directory
44 -in <path>~/.ssh/authorized_keys</path> and the user should be able to login.
45 +in <path>~/.ssh/authorized_keys</path> and the user should be able to login:
46 </p>
47
48 +<pre caption="Adding the id_dsa.pub file to the authorized_keys file">
49 +$ <i>scp id_dsa.pub other-host:/var/tmp/currenthostname.pub</i>
50 +$ <i>ssh other-host</i>
51 +password:
52 +$ <i>cat /var/tmp/currenthostname.pub >> ~/.ssh/authorized_keys</i>
53 +</pre>
54 +
55 <p>
56 Now your users should guard this private key well. Put it on a media that they
57 always carry with them or keep it on their workstation (put this in the <uri
58
59
60
61 --
62 gentoo-doc-cvs@g.o mailing list