summaryrefslogtreecommitdiff
path: root/_posts/2009-06-15-msysgit-key-setup.textile
diff options
context:
space:
mode:
authortekkub <tekkub@gmail.com>2010-01-30 14:51:24 -0800
committertekkub <tekkub@gmail.com>2010-01-30 14:51:24 -0800
commit7d866868f3c7e01e933692597e862f5364b5353e (patch)
tree6000bf3e7badb66c32e592fa324684815a10c14f /_posts/2009-06-15-msysgit-key-setup.textile
parent88c2980c378e1bed561809b543c379ced0ead2d4 (diff)
Keep our backup keys in the .ssh folder, it has specific permissions to protect the keys.
Diffstat (limited to '_posts/2009-06-15-msysgit-key-setup.textile')
-rw-r--r--_posts/2009-06-15-msysgit-key-setup.textile9
1 files changed, 4 insertions, 5 deletions
diff --git a/_posts/2009-06-15-msysgit-key-setup.textile b/_posts/2009-06-15-msysgit-key-setup.textile
index 4ed627b..b73f7df 100644
--- a/_posts/2009-06-15-msysgit-key-setup.textile
+++ b/_posts/2009-06-15-msysgit-key-setup.textile
@@ -17,12 +17,11 @@ Unless this is your first time installing msys on your computer, you should doub
<pre class="terminal">$ cd ~/.ssh
$ ls
config id_rsa id_rsa.pub known_hosts
-$ cd ..
-$ mkdir ssh_key_backup
-$ cp .ssh/id_rsa* ssh_key_backup
-$ rm .ssh/id_rsa*</pre>
+$ mkdir key_backup
+$ cp id_rsa* key_backup
+$ rm id_rsa*</pre>
-Here we have an existing keypair, @id_rsa@ and @id_rsa.pub@, which we've copied into @~/ssh_key_backup@ before removing. By default, ssh will use keys in @~/.ssh@ that are named @id_rsa@, @id_dsa@ or @identity@.
+Here we have an existing keypair, @id_rsa@ and @id_rsa.pub@, which we've copied into @~/.ssh/key_backup@ before removing. By default, ssh will use keys in @~/.ssh@ that are named @id_rsa@, @id_dsa@ or @identity@.
h2. Generating a key