diff options
Diffstat (limited to '_posts')
| -rw-r--r-- | _posts/2009-06-15-linux-key-setup.textile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_posts/2009-06-15-linux-key-setup.textile b/_posts/2009-06-15-linux-key-setup.textile index 3449a2a..da9fe7f 100644 --- a/_posts/2009-06-15-linux-key-setup.textile +++ b/_posts/2009-06-15-linux-key-setup.textile @@ -33,11 +33,11 @@ Now that we're certain ssh won't use an existing key, it's time to generate a ne <pre class="terminal">$ 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 file in which to save the key (/home/tekkub/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: -Your identification has been saved in /Users/tekkub/.ssh/id_rsa. -Your public key has been saved in /Users/tekkub/.ssh/id_rsa.pub. +Your identification has been saved in /home/tekkub/.ssh/id_rsa. +Your public key has been saved in /home/tekkub/.ssh/id_rsa.pub. The key fingerprint is: 01:0f:f4:3b:ca:85:d6:17:a1:7d:f0:68:9d:f0:a2:db tekkub@gmail.com</pre> @@ -52,7 +52,7 @@ Now launch your browser and open the "account page":https://github.com/account. 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 the terminal using "xclip":http://www.cyberciti.biz/faq/xclip-linux-insert-files-command-output-intoclipboard/: <pre class="terminal">$ sudo apt-get install xclip -$ cat ~/id_rsa.pub | xclip -sel clip</pre> +$ cat ~/.ssh/id_rsa.pub | xclip -sel clip</pre> !/images/add_key.png! |
