net.schmizz.sshj.transport.TransportException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SSHJ and the Maven shade plugin
    via Stack Overflow by Anders S
    ,
  • GitHub comment 109#39372505
    via GitHub by helsing
    ,
  • Please update the SSH exchange key algorithms that are used by the current Bamboo java library. Based on the current encryption levels, {{SSH}} and {{SCP}} tasks can fail with the following error message if your environment is set to use higher encrypted algorithms: {noformat} Starting task 'SCP <application> to <server name>' of type 'com.atlassian.bamboo.plugins.bamboo-scp-plugin:scptask' 09-Oct-2015 14:15:42 Connecting to <server name>.<domain> on port: 22 09-Oct-2015 14:15:42 Failed to connect to host 09-Oct-2015 14:15:42 net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [diffie-hellman-group14-sha1, diffie-hellman-group1-sha1] and [curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1] 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.Proposal.firstMatch(Proposal.java:145) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.Proposal.negotiate(Proposal.java:128) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.KeyExchanger.gotKexInit(KeyExchanger.java:219) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.KeyExchanger.handle(KeyExchanger.java:344) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.TransportImpl.handle(TransportImpl.java:458) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.Decoder.decode(Decoder.java:107) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.Decoder.received(Decoder.java:175) 09-Oct-2015 14:15:42 at net.schmizz.sshj.transport.Reader.run(Reader.java:61) 09-Oct-2015 14:15:42 Finished task 'SCP <application> to <server name>' with result: Error {noformat} We need to have a change made to the library to enable Bamboo to use higher encrypted algorithms. In the example above, the following algorithms are needed: {noformat} curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1 {noformat}
    via by Bruno Rosa,
    • net.schmizz.sshj.transport.TransportException: Unable to reach a settlement: [] and [aes128-ctr, aes192-ctr, aes256-ctr, arcfour256, arcfour128, aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc, aes192-cbc, aes256-cbc, arcfour, rijndael-cbc@lysator.liu.se] at net.schmizz.sshj.transport.Proposal.firstMatch(Proposal.java:165)[karamel.exe:na] at net.schmizz.sshj.transport.Proposal.negotiate(Proposal.java:147)[karamel.exe:na] at net.schmizz.sshj.transport.KeyExchanger.gotKexInit(KeyExchanger.java:239)[karamel.exe:na] at net.schmizz.sshj.transport.KeyExchanger.handle(KeyExchanger.java:364)[karamel.exe:na]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,