Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-309

git ssh issues with ssh-dss

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 0.8.0.Final
    • None
    • None
    • NEW
    • NEW

      Description of problem:
      Some systems are not longer using ssh-dss by default, which results in some issues like:
      Client side:
      "[user@note git-test]$ git clone ssh://user@localhost:8001/repo
      Cloning into 'repo'...
      Unable to negotiate with 127.0.0.1: no matching host key type found. Their offer: ssh-dss
      fatal: Could not read from remote repository."
      Server side:
      14:58:31,856 WARN [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[847507d]-nio2-thread-2) Exception caught: java.lang.IllegalStateException: Unable to negotiate key exchange for server host key algorithms (client: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa / server: ssh-dss)
      at org.apache.sshd.common.session.AbstractSession.negotiate(AbstractSession.java:1109) [sshd-core-0.12.0.jar:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:357) [sshd-core-0.12.0.jar:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295) [sshd-core-0.12.0.jar:0.12.0]

            abakos@redhat.com Alexandre Bakos
            abakos@redhat.com Alexandre Bakos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: