diff options
| author | Cameron McEfee <cameron@github.com> | 2011-05-16 10:23:11 -0700 |
|---|---|---|
| committer | Cameron McEfee <cameron@github.com> | 2011-05-16 16:55:31 -0700 |
| commit | 2575b8a597d3febb0088d02fb64214c3dbd5fd57 (patch) | |
| tree | 8f8b953553b065fb604af179f0047ea9585dbfa4 /_posts/2009-06-17-troubleshooting-ssh.textile | |
| parent | 836ff8f64638d8bdcdb96e7baa650e998dd663c4 (diff) | |
bring documentation in line with new styles
Diffstat (limited to '_posts/2009-06-17-troubleshooting-ssh.textile')
| -rw-r--r-- | _posts/2009-06-17-troubleshooting-ssh.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2009-06-17-troubleshooting-ssh.textile b/_posts/2009-06-17-troubleshooting-ssh.textile index 8900a78..7e58cf8 100644 --- a/_posts/2009-06-17-troubleshooting-ssh.textile +++ b/_posts/2009-06-17-troubleshooting-ssh.textile @@ -6,7 +6,7 @@ categories: troubleshooting popular main_category: troubleshooting --- -This guide contains the solutions to the most common SSH connection issues encountered on GitHub +<p class="intro">This guide contains the solutions to the most common SSH connection issues encountered on GitHub.</p> The first step to testing your connection is to run <code>ssh git@github.com</code>. If your key works, you should get a success message: <pre class="terminal">$ ssh git@github.com @@ -44,7 +44,7 @@ Here we've renamed our keypair to @~/.ssh/id_rsa@. SSH finds the key and offers h2. Issues when using sudo -p((. _You shouldn't run @sudo git@ unless you have a very good reason. If you don't know if you have a good reason to use sudo, it's likely that you do not have one._ +<p class="attention">You shouldn't run @sudo git@ unless you have a very good reason. If you don't know if you have a good reason to use sudo, it's likely that you do not have one.</p> If you are using sudo with git commands (e.g. using <code>sudo git clone</code> because you are deploying to a root-owned folder), ensure that you also generated the key using sudo. Otherwise, you will have generated a key for your current user, but when you are doing sudo git, you are actually the root user - thus, the keys will not match. |
