1 |
nightmorph 10/04/22 03:48:03 |
2 |
|
3 |
Modified: keychain-guide.xml |
4 |
Log: |
5 |
updated keychain guide |
6 |
|
7 |
Revision Changes Path |
8 |
1.6 xml/htdocs/doc/en/keychain-guide.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.6&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.6&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?r1=1.5&r2=1.6 |
13 |
|
14 |
Index: keychain-guide.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v |
17 |
retrieving revision 1.5 |
18 |
retrieving revision 1.6 |
19 |
diff -u -r1.5 -r1.6 |
20 |
--- keychain-guide.xml 8 Oct 2009 19:31:21 -0000 1.5 |
21 |
+++ keychain-guide.xml 22 Apr 2010 03:48:03 -0000 1.6 |
22 |
@@ -1,15 +1,18 @@ |
23 |
<?xml version='1.0' encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.5 2009/10/08 19:31:21 nightmorph Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.6 2010/04/22 03:48:03 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
-<guide link="/doc/en/keychain-guide.xml"> |
29 |
+<guide> |
30 |
<title>Gentoo Linux Keychain Guide</title> |
31 |
|
32 |
<author title="Author"> |
33 |
<mail link="eric.brown@×××××××.net">Eric Brown</mail> |
34 |
</author> |
35 |
<author title="Editor"> |
36 |
- <mail link="vanquirius@g.o">Marcelo Góes</mail> |
37 |
+ <mail link="vanquirius@g.o">Marcelo Góes</mail> |
38 |
+</author> |
39 |
+<author title="Editor"> |
40 |
+ <mail link="nightmorph"/> |
41 |
</author> |
42 |
|
43 |
<abstract> |
44 |
@@ -21,8 +24,8 @@ |
45 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
46 |
<license/> |
47 |
|
48 |
-<version>1.4</version> |
49 |
-<date>2009-10-08</date> |
50 |
+<version>1.5</version> |
51 |
+<date>2010-04-21</date> |
52 |
|
53 |
<chapter> |
54 |
<title>Background</title> |
55 |
@@ -31,11 +34,11 @@ |
56 |
<body> |
57 |
|
58 |
<p> |
59 |
-So you have all of these lovely Gentoo machines running sshd, but it's a little |
60 |
-inconvenient for you to keep typing in all of those login passwords, right? Or |
61 |
-maybe you have a script or cron-job that needs a convenient way to use an ssh |
62 |
-connection. Either way, there is a solution to this problem, and it begins |
63 |
-with public key authentication. |
64 |
+So you have all of these lovely Gentoo machines running <c>sshd</c>, but it's a |
65 |
+little inconvenient for you to keep typing in all of those login passwords, |
66 |
+right? Or maybe you have a script or cron-job that needs a convenient way to |
67 |
+use an ssh connection. Either way, there is a solution to this problem, and it |
68 |
+begins with public key authentication. |
69 |
</p> |
70 |
|
71 |
</body> |
72 |
@@ -273,21 +276,18 @@ |
73 |
<p> |
74 |
If you are a KDE user, instead of using <path>~/.bash_profile</path>, you can |
75 |
let KDE manage ssh-agent for you. In order to do so, you will have to edit |
76 |
-<path>/usr/kde/${KDE_VERSION}/env/agent-startup.sh</path>, which is read during |
77 |
-KDE's startup, and |
78 |
-<path>/usr/kde/${KDE_VERSION}/shutdown/agent-shutdown.sh</path>, which is |
79 |
-executed during KDE's shutdown, where ${KDE_VERSION} corresponds to the first |
80 |
-two version components of your KDE installation. For example, if you are using |
81 |
-KDE 3.5.1, here is how you could edit those files: |
82 |
+<path>/usr/kde/4/env/agent-startup.sh</path>, which is read during KDE's |
83 |
+startup, and <path>/usr/kde/4/shutdown/agent-shutdown.sh</path>, which is |
84 |
+executed during KDE's shutdown. Here is how you could edit those files: |
85 |
</p> |
86 |
|
87 |
-<pre caption="Editing /usr/kde/3.5/env/agent-startup.sh"> |
88 |
+<pre caption="Editing /usr/kde/4/env/agent-startup.sh"> |
89 |
if [ -x /usr/bin/ssh-agent ]; then |
90 |
eval "$(/usr/bin/ssh-agent -s)" |
91 |
fi |
92 |
</pre> |
93 |
|
94 |
-<pre caption="Editing /usr/kde/3.5/shutdown/agent-shutdown.sh"> |
95 |
+<pre caption="Editing /usr/kde/4/shutdown/agent-shutdown.sh"> |
96 |
if [ -n "${SSH_AGENT_PID}" ]; then |
97 |
eval "$(ssh-agent -k)" |
98 |
fi |
99 |
@@ -299,7 +299,7 @@ |
100 |
</p> |
101 |
|
102 |
<pre caption="Loading ssh key"> |
103 |
-keychain ~/.ssh/id_dsa |
104 |
+$ <i>keychain ~/.ssh/id_dsa</i> |
105 |
<comment>(Enter your key password)</comment> |
106 |
</pre> |