Deployment: SSH tasks fails to use SHA256

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Done
    • 5.12.4
    • Component/s: None
    • None

      If the remote ssh server refuses (as recommended) SHA-1, and only accepts SHA-256, the deployment task fails with:

      26-Jun-2015 12:51:01	Starting task 'ssh' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:sshtask'
      26-Jun-2015 12:51:01	Connecting to **** on port: ***
      26-Jun-2015 12:51:01	Failed to connect to host
      26-Jun-2015 12:51:01	net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group14-sha1, diffie-hellman-group1-sha1] and [curve25519-sha256@libssh.org, diffie-hellman-group-exchange-sha256]
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.Proposal.firstMatch(Proposal.java:145)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.Proposal.negotiate(Proposal.java:128)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.KeyExchanger.gotKexInit(KeyExchanger.java:219)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.KeyExchanger.handle(KeyExchanger.java:344)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:458)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:107)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.Decoder.received(Decoder.java:175)
      26-Jun-2015 12:51:01	        at net.schmizz.sshj.transport.Reader.run(Reader.java:61)
      26-Jun-2015 12:51:01	Finished task 'ssh' with result: Error
      

            Assignee:
            Przemek Bruski
            Reporter:
            ebaratte
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: