aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetWeb/get-carpet-darcs.html
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-01-31 01:16:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-01-31 01:16:00 +0000
commitbc4f3b4bda7b42b5c48b80be2ae846e3c26e2434 (patch)
tree5ac0a211c0a60bb16bdc4760fb4234cd7e241506 /Carpet/CarpetWeb/get-carpet-darcs.html
parentae767f18e6390477b2ac752c1f1cc2fe595edf5b (diff)
Describe ssh-agent
darcs-hash:20060131011657-dae7b-e95f6031fa3a394fc81aeb68c81a29f41f791bca.gz
Diffstat (limited to 'Carpet/CarpetWeb/get-carpet-darcs.html')
-rw-r--r--Carpet/CarpetWeb/get-carpet-darcs.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/Carpet/CarpetWeb/get-carpet-darcs.html b/Carpet/CarpetWeb/get-carpet-darcs.html
index 705c8592e..ef941ad62 100644
--- a/Carpet/CarpetWeb/get-carpet-darcs.html
+++ b/Carpet/CarpetWeb/get-carpet-darcs.html
@@ -158,6 +158,35 @@
<a href="doc/darcs-1.0.5.pdf">PDF documentation</a> (450&nbsp;kB)
for darcs.</p>
+ <h3>Convenient SSH key management</h3>
+
+ <p>Ssh has two mechanisms for authentication, typing a password,
+ or using ssh keys. When you use ssh keys, your private key is
+ (<em>should</em>) usually be protected by a password. That means
+ that you have to type this password every time you log into a
+ different machine. Some people protect their private ssh key with
+ an empty password --- this way, they don't have to type a
+ password, but this is not very secure. If somebody is able to
+ copy the private ssh key, they have access to your remote
+ accounts. In this way, intruders can hop from one machine to the
+ next. This is not just a theoretical risk.</p>
+
+ <p>Ssh-agent is a convenient way to make things safe yet
+ convenient. It is an agent that starts automatically when you log
+ in, and asks you for your ssh key password. It remembers this
+ password in memory, and whenever you use ssh to log into a remote
+ account, ssh contacts the ssh-agent for the password to the key.
+ If that password works, you don't have to type anything.</p>
+
+ <p>I use the following lines in my <code>.bash_profile</code> to
+ make this happen:</p>
+ <pre>keychain id_dsa
+test -f $HOME/.keychain/$(hostname)-sh && source $HOME/.keychain/$(hostname)-sh > /dev/null
+</pre>
+ <p>Keychain starts the ssh-agent. Keychain can also handle gpg
+ key passwords for your encrypted and/or signed emails.</p>
+
+
<h3>Updating the Repository from the Master</h3>
<p>At some time you will want to update your version of Carpet and