diff options
Diffstat (limited to '_posts/2011-02-15-win-set-up-git.markdown')
| -rw-r--r-- | _posts/2011-02-15-win-set-up-git.markdown | 15 |
1 files changed, 14 insertions, 1 deletions
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’t very secure, you already know this. If you use one that’s easy to remember, it’s easier to guess or brute-force (try many options until one works). If you use one that’s random it’s hard to remember, and thus you’re more inclined to write the password down. Both of these are Very Bad Things™. This is why you’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™. The solution is obvious: add a passphrase.</p> + + <p><em>But I don’t want to enter a long passphrase every time I use the key!</em></p> + + <p>Neither do we! Thankfully, there’s a nifty little tool called <code>ssh-agent</code> that can save your passphrase securely so you don’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> |
