nightmorph 10/04/22 03:48:03 Modified: keychain-guide.xml Log: updated keychain guide
Revision Changes Path 1.6 xml/htdocs/doc/en/keychain-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.6&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/keychain-guide.xml?r1=1.5&r2=1.6 Index: keychain-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- keychain-guide.xml 8 Oct 2009 19:31:21 -0000 1.5 +++ keychain-guide.xml 22 Apr 2010 03:48:03 -0000 1.6 @@ -1,15 +1,18 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.5 2009/10/08 19:31:21 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/keychain-guide.xml,v 1.6 2010/04/22 03:48:03 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<guide link="/doc/en/keychain-guide.xml"> +<guide> <title>Gentoo Linux Keychain Guide</title> <author title="Author"> <mail link="[email protected]">Eric Brown</mail> </author> <author title="Editor"> - <mail link="[email protected]">Marcelo Góes</mail> + <mail link="[email protected]">Marcelo Góes</mail> +</author> +<author title="Editor"> + <mail link="nightmorph"/> </author> <abstract> @@ -21,8 +24,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.4</version> -<date>2009-10-08</date> +<version>1.5</version> +<date>2010-04-21</date> <chapter> <title>Background</title> @@ -31,11 +34,11 @@ <body> <p> -So you have all of these lovely Gentoo machines running sshd, but it's a little -inconvenient for you to keep typing in all of those login passwords, right? Or -maybe you have a script or cron-job that needs a convenient way to use an ssh -connection. Either way, there is a solution to this problem, and it begins -with public key authentication. +So you have all of these lovely Gentoo machines running <c>sshd</c>, but it's a +little inconvenient for you to keep typing in all of those login passwords, +right? Or maybe you have a script or cron-job that needs a convenient way to +use an ssh connection. Either way, there is a solution to this problem, and it +begins with public key authentication. </p> </body> @@ -273,21 +276,18 @@ <p> If you are a KDE user, instead of using <path>~/.bash_profile</path>, you can let KDE manage ssh-agent for you. In order to do so, you will have to edit -<path>/usr/kde/${KDE_VERSION}/env/agent-startup.sh</path>, which is read during -KDE's startup, and -<path>/usr/kde/${KDE_VERSION}/shutdown/agent-shutdown.sh</path>, which is -executed during KDE's shutdown, where ${KDE_VERSION} corresponds to the first -two version components of your KDE installation. For example, if you are using -KDE 3.5.1, here is how you could edit those files: +<path>/usr/kde/4/env/agent-startup.sh</path>, which is read during KDE's +startup, and <path>/usr/kde/4/shutdown/agent-shutdown.sh</path>, which is +executed during KDE's shutdown. Here is how you could edit those files: </p> -<pre caption="Editing /usr/kde/3.5/env/agent-startup.sh"> +<pre caption="Editing /usr/kde/4/env/agent-startup.sh"> if [ -x /usr/bin/ssh-agent ]; then eval "$(/usr/bin/ssh-agent -s)" fi </pre> -<pre caption="Editing /usr/kde/3.5/shutdown/agent-shutdown.sh"> +<pre caption="Editing /usr/kde/4/shutdown/agent-shutdown.sh"> if [ -n "${SSH_AGENT_PID}" ]; then eval "$(ssh-agent -k)" fi @@ -299,7 +299,7 @@ </p> <pre caption="Loading ssh key"> -keychain ~/.ssh/id_dsa +$ <i>keychain ~/.ssh/id_dsa</i> <comment>(Enter your key password)</comment> </pre>
