summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_posts/2011-02-15-linux-set-up-git.markdown23
-rw-r--r--_posts/2011-02-15-mac-set-up-git.markdown18
-rw-r--r--_posts/2011-02-15-win-set-up-git.markdown15
3 files changed, 53 insertions, 3 deletions
diff --git a/_posts/2011-02-15-linux-set-up-git.markdown b/_posts/2011-02-15-linux-set-up-git.markdown
index 0450529..c4d34b2 100644
--- a/_posts/2011-02-15-linux-set-up-git.markdown
+++ b/_posts/2011-02-15-linux-set-up-git.markdown
@@ -23,6 +23,12 @@ _&#42;If you don&rsquo;t already know what Git is, <a href="http://progit.org/bo
When you&rsquo;ve selected git-core, git-gui, and git-doc, hit &ldquo;Apply&rdquo; to install them.
<img src="/images/bootcamp/bootcamp_1_linux_install_4.jpg" width="558" height="173" alt="Click Apply" />
+
+ If you don&rsquo;t have a package manager like Synaptic, or you&rsquo;d rather install the necessary git components from the command line, run the script below:
+
+ <pre class="terminal bootcamp">
+ <span class="codeline">$ sudo apt-get install git-core git-gui git-doc<span>Installs git-core, git-gui, and git-doc on your system</span></span>
+ </pre>
__&#42;Note&#42;__ Don&rsquo;t worry that you don&rsquo;t see an icon when it&rsquo;s done. It&rsquo;s not that kind of application.
@@ -98,7 +104,22 @@ To make sure you generate a brand new key, you need to check if one already exis
<span class="bash-output">Enter file in which to save the key (/home/<em>your_user_directory</em>/.ssh/id_rsa):</span>
</pre>
- Now you need to enter a passphrase. _[Why is this important?](../working-with-key-passphrases)_
+ Now you need to enter a passphrase.
+
+ <div class="more-info">
+ <h4 class="compressed">Why do passphrases matter?</h4>
+ <div class="more-content">
+ <p>Passwords aren&rsquo;t very secure, you already know this. If you use one that&rsquo;s easy to remember, it&rsquo;s easier to guess or brute-force (try many options until one works). If you use one that&rsquo;s random it&rsquo;s hard to remember, and thus you&rsquo;re more inclined to write the password down. Both of these are Very Bad Things&trade;. This is why you&rsquo;re using ssh keys.</p>
+
+ <p>But using a key without a passphrase is basically the same as writing down that random password in a file on your computer. Anyone who gains access to your drive has gained access to every system you use that key with. This is also a Very Bad Thing&trade;. The solution is obvious: add a passphrase.</p>
+
+ <p><em>But I don&rsquo;t want to enter a long passphrase every time I use the key!</em></p>
+
+ <p>Neither do we! Thankfully, there&rsquo;s a nifty little tool called <code>ssh-agent</code> that can save your passphrase securely so you don&rsquo;t have to re-enter it. Most linux installations will automatically start <code>ssh-agent</code> for you when you log in.</p>
+
+ <p>For more information about SSH key passphrases, check out our <a href="/working-with-key-passphrases">help guide</a>.</p>
+ </div>
+ </div>
<pre class="terminal bootcamp">
<span class="bash-output">Enter passphrase (empty for no passphrase):</span>
diff --git a/_posts/2011-02-15-mac-set-up-git.markdown b/_posts/2011-02-15-mac-set-up-git.markdown
index 5cad08f..50cb9e2 100644
--- a/_posts/2011-02-15-mac-set-up-git.markdown
+++ b/_posts/2011-02-15-mac-set-up-git.markdown
@@ -88,7 +88,23 @@ To make sure you generate a brand new key, you need to check if one already exis
<span class="bash-output">Enter file in which to save the key (/Users/<em>your_user_directory</em>/.ssh/id_rsa):</span>
</pre>
- Now you need to enter a passphrase. _[Why is this important?](../working-with-key-passphrases)_
+ Now you need to enter a passphrase.
+
+ <div class="more-info">
+ <h4 class="compressed">Why do passphrases matter?</h4>
+ <div class="more-content">
+ <p>Passwords aren&rsquo;t very secure, you already know this. If you use one that&rsquo;s easy to remember, it&rsquo;s easier to guess or brute-force (try many options until one works). If you use one that&rsquo;s random it&rsquo;s hard to remember, and thus you&rsquo;re more inclined to write the password down. Both of these are Very Bad Things&trade;. This is why you&rsquo;re using ssh keys.</p>
+
+ <p>But using a key without a passphrase is basically the same as writing down that random password in a file on your computer. Anyone who gains access to your drive has gained access to every system you use that key with. This is also a Very Bad Thing&trade;. The solution is obvious: add a passphrase.</p>
+
+ <p><em>But I don&rsquo;t want to enter a long passphrase every time I use the key!</em></p>
+
+ <p>Neither do we! Thankfully, there&rsquo;s a nifty little tool called <code>ssh-agent</code> that can save your passphrase securely so you don&rsquo;t have to re-enter it. If you&rsquo;re on OSX Leopard or later your keys can be saved in the system&rsquo;s keychain to make your life even easier.</p>
+
+ <p>For more information about SSH key passphrases, check out our <a href="/working-with-key-passphrases">help guide</a>.</p>
+ </div>
+ </div>
+
<pre class="terminal bootcamp">
<span class="bash-output">Enter passphrase (empty for no passphrase):</span>
diff --git a/_posts/2011-02-15-win-set-up-git.markdown b/_posts/2011-02-15-win-set-up-git.markdown
index 6d7db1a..3317093 100644
--- a/_posts/2011-02-15-win-set-up-git.markdown
+++ b/_posts/2011-02-15-win-set-up-git.markdown
@@ -101,7 +101,20 @@ To make sure you generate a brand new key, you need to check if one already exis
<span class="bash-output">Enter file in which to save the key (/c/Users/<em>your_user_directory</em>/.ssh/id_rsa):</span>
</pre>
- Now you need to enter a passphrase. _[Why is this important?](../working-with-key-passphrases)_
+ Now you need to enter a passphrase.
+
+ <div class="more-info">
+ <h4 class="compressed">Why do passphrases matter?</h4>
+ <div class="more-content">
+ <p>Passwords aren&rsquo;t very secure, you already know this. If you use one that&rsquo;s easy to remember, it&rsquo;s easier to guess or brute-force (try many options until one works). If you use one that&rsquo;s random it&rsquo;s hard to remember, and thus you&rsquo;re more inclined to write the password down. Both of these are Very Bad Things&trade;. This is why you&rsquo;re using ssh keys.</p>
+
+ <p>But using a key without a passphrase is basically the same as writing down that random password in a file on your computer. Anyone who gains access to your drive has gained access to every system you use that key with. This is also a Very Bad Thing&trade;. The solution is obvious: add a passphrase.</p>
+
+ <p><em>But I don&rsquo;t want to enter a long passphrase every time I use the key!</em></p>
+
+ <p>Neither do we! Thankfully, there&rsquo;s a nifty little tool called <code>ssh-agent</code> that can save your passphrase securely so you don&rsquo;t have to re-enter it. Unfortunately, it takes a little work to get it up and running on Windows. For more information check out our <a href="/working-with-key-passphrases">help guide</a>.</p>
+ </div>
+ </div>
<pre class="terminal bootcamp">
<span class="bash-output">Enter passphrase (empty for no passphrase):</span>