title: ssh login issues at github and authentcation issues while doing a git push
body: <p>I have been getting the following issue when I do a ssh git@github.com</p>
  
  <pre><code>PTY allocation request failed on channel 0
  </code></pre>
  
  <p>After this usually we receive a confirmation message saying you are authenticated which I did not receive</p>
  
  <p>I have tried restarting issues
  Now I have replaced my ssh key ( which is not a solution ) and tried it again but did not help</p>
  
  <p>Also everytime I do a </p>
  
  <pre><code>git push origin master
  </code></pre>
  
  <p>At github:
  It prompts for</p>
  
  <pre><code>Username: 
  Password:
  </code></pre>
  
  <p>At gitorious the same </p>
  
  <pre><code>git push origin master
  </code></pre>
  
  <p>I get the answer as </p>
  
  <blockquote>
  <pre><code>fatal: protocol error: expected sha/ref, got '
  </code></pre>
    
    <p>---------------------------------------------- The git:// protocol is read-only.</p>
    
    <p>Please use the push url as listed on
    the repository page.
    ----------------------------------------------'</p>
  </blockquote>
  
  <p>This part is solved </p>
  
  <blockquote>
    <p>Again when I do an</p>
  
  <pre><code>~/.ssh&gt; ssh-add id_rsa 
  </code></pre>
    
    <p>I get this --</p>
  
  <pre><code> Could not open a connection to your authentication agent
  </code></pre>
  </blockquote>