title: ssh: Could not resolve hostname github.com: Name or service not known; fatal: The remote end hung up unexpectedly
body: <p>The process of setting up a GitHub account works just fine but it doesn't work when I try pushing my repository to GitHub. The error message it shows is as follows:</p>
  
  <pre><code>ssh: Could not resolve hostname github.com: Name or service not known
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>I have tried changing RSA keys and all but still getting error.</p>
  
  <p>What causes this error?</p>