From 2575b8a597d3febb0088d02fb64214c3dbd5fd57 Mon Sep 17 00:00:00 2001 From: Cameron McEfee Date: Mon, 16 May 2011 10:23:11 -0700 Subject: bring documentation in line with new styles --- _posts/2009-09-03-working-with-key-passphrases.textile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '_posts/2009-09-03-working-with-key-passphrases.textile') diff --git a/_posts/2009-09-03-working-with-key-passphrases.textile b/_posts/2009-09-03-working-with-key-passphrases.textile index 8941a73..e585983 100644 --- a/_posts/2009-09-03-working-with-key-passphrases.textile +++ b/_posts/2009-09-03-working-with-key-passphrases.textile @@ -5,7 +5,7 @@ description: SSH key passphrases, why you should use them, and how to avoid re-e categories: windows mac troubleshooting --- -This guide will step you through the process of securing your ssh keys while avoiding re-entry of your passphrase every time you use the key. +

This guide will step you through the process of securing your ssh keys while avoiding re-entry of your passphrase every time you use the key.

h2. Why do I need a passphrase? @@ -34,7 +34,7 @@ h2. Auto-launching ssh-agent on msysgit You can run @ssh-agent@ automatically when you open bash by adding the following to your @~/.profile@ or @~/.bashrc@ file: -
+{% highlight bash %}
 SSH_ENV="$HOME/.ssh/environment"
 
 # start the ssh-agent
@@ -80,7 +80,7 @@ else
         start_agent
     fi
 fi
-
+{% endhighlight %} p(. *Note:* If you don't use the default key names, or store your keys in a different path, you will need to add the path to the @/usr/bin/ssh-add@ line so that ssh knows where to find your key. @@ -114,7 +114,7 @@ If you are on OSX Leopard or later, ssh-agent is run automatically for you. It The default key files (@.ssh/id_rsa@, @.ssh/id_dsa@ and @.ssh/identity@) should be handled automatically. If you have a key with a different name, you can add it with @ssh-add path/to/my_key@ -p(. _Make sure that you're using the default OS X ssh-add command and not one installed by macports or some other external source._ +

Make sure that you're using the default OS X ssh-add command and not one installed by macports or some other external source.

When you first try to use the key you will be prompted to enter your passphrase: @@ -122,4 +122,4 @@ When you first try to use the key you will be prompted to enter your passphrase: If you choose to save the passphrase with your keychain, you won't have to enter it again. Instead you'll simply need to unlock your keychain. -p(. This section was written with help from "this guide":http://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/. If you would like to use more paranoid keychain settings like locking after sleep, check out "this guide":http://www.dribin.org/dave/blog/archives/2007/11/28/securing_ssh_agent/. +

This section was written with help from "this guide":http://www.dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard/. If you would like to use more paranoid keychain settings like locking after sleep, check out "this guide":http://www.dribin.org/dave/blog/archives/2007/11/28/securing_ssh_agent/.

-- cgit v1.3.1