From 6e4eaa1e31846f42fa50cee48b73bf0079e9aba6 Mon Sep 17 00:00:00 2001 From: tekkub Date: Mon, 27 Jul 2009 01:51:05 -0600 Subject: Make pretty console pre blocks --- _posts/2009-06-15-mac-key-setup.textile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '_posts/2009-06-15-mac-key-setup.textile') diff --git a/_posts/2009-06-15-mac-key-setup.textile b/_posts/2009-06-15-mac-key-setup.textile index ff33404..3f117db 100644 --- a/_posts/2009-06-15-mac-key-setup.textile +++ b/_posts/2009-06-15-mac-key-setup.textile @@ -13,7 +13,7 @@ h2. Backup and remove existing keys Unless this is your first time setting up ssh or git on your computer, you should doublecheck that keys do not already exist. If they do you can either use the existing key(s) or remove them. In either case, you should make a backup of the keys. -
$ cd ~/.ssh
+
$ cd ~/.ssh
 $ ls
 config  id_rsa  id_rsa.pub  known_hosts
 $ cd ..
@@ -29,7 +29,7 @@ p(. _If you have an existing keypair you wish to use, you can skip this step._
 
 Now that we're certain ssh won't use an existing key, it's time to generate a new keypair.  Lets make an RSA keypair:
 
-
$ ssh-keygen -t rsa -c "tekkub@gmail.com"
+
$ ssh-keygen -t rsa -c "tekkub@gmail.com"
 Generating public/private rsa key pair.
 Enter file in which to save the key (/Users/tekkub/.ssh/id_rsa):
 Enter passphrase (empty for no passphrase):
@@ -57,7 +57,7 @@ h2. Adding the key to your GitHub account
 
 Now launch your browser and open the "account page":https://github.com/account.  In the "SSH Public Keys" section click "add another public key", then paste your public key into the "key" field.  If you leave the title blank the key comment (your email) will be used for the title.
 
-Make sure you use the public key (@id_rsa.pub@ in our example), and do not add any newlines or whitespace inside the key.  To ensure you copy the key correctly, you can copy the key directly into the clipboard from Terminal.app: 
$ cat ~/id_rsa.pub | pbcopy
+Make sure you use the public key (@id_rsa.pub@ in our example), and do not add any newlines or whitespace inside the key. To ensure you copy the key correctly, you can copy the key directly into the clipboard from Terminal.app:
$ cat ~/id_rsa.pub | pbcopy
!/images/add_key.png! @@ -65,7 +65,7 @@ h2. Testing things out Testing if our new key works is simple: -
$ ssh git@github.com
+
$ ssh git@github.com
 Hi tekkub! You've successfully authenticated, but GitHub does not provide shell access.
 Connection to github.com closed.
-- cgit v1.3.1