title: Eclipse Git(EGit) Remote : Invalid packet line header
body: <p>I'm trying to use Git on my server but i am not able to use it. I'm getting error when i try to push project to server. Here is the error. </p>
  
  <p><strong>Error Message</strong></p>
  
  <blockquote>
    <p>An exception occurred during push on URI
    ssh://Emre@88.247.25.9:7358/C:/Android Repository: Invalid packet line
    header: Unab</p>
  </blockquote>
  
  <p><strong>Exception Stack Trace</strong></p>
  
  <pre class="lang-java prettyprint-override"><code>org.eclipse.jgit.errors.TransportException: Invalid packet line
   header: Unab   at
   org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:182)
      at
   org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.&lt;init&gt;(TransportGitSsh.java:327)
      at
   org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:152)
      at
   org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
      at org.eclipse.jgit.transport.Transport.push(Transport.java:1173)   at
   org.eclipse.egit.core.op.PushOperation.run(PushOperation.java:190)     at
   org.eclipse.egit.ui.internal.push.ConfirmationPage$2.run(ConfirmationPage.java:206)
      at
   org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
   Caused by: java.io.IOException: Invalid packet line header: Unab   at
   org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:193)
      at
   org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:138)
      at
   org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefsImpl(BasePackConnection.java:195)
      at
   org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:176)
      ... 7 more
  </code></pre>
  
  <p>Does my ssh URI correct ? </p>
  
  <p><code>ssh://Emre@88.247.25.9:7358/C:/Android Repository</code></p>
  
  <p>Emre is my username. I'm using 7358 port. My project location is C:/Android Repository in server. </p>