com.trilead.ssh2.IOWarningException: Unsupported key format found 'ssh-rsa' while expecting rsa-sha2-256 at com.trilead.ssh2.signature.RSAKeyAlgorithm.decodePublicKey(RSAKeyAlgorithm.java:111) at com.trilead.ssh2.signature.RSAKeyAlgorithm.decodePublicKey(RSAKeyAlgorithm.java:28) at com.trilead.ssh2.transport.KexManager.verifySignature(KexManager.java:363) at com.trilead.ssh2.transport.KexManager.handleMessage(KexManager.java:564) at com.trilead.ssh2.transport.TransportManager.receiveLoop(TransportManager.java:790) at com.trilead.ssh2.transport.TransportManager$1.run(TransportManager.java:502) at java.lang.Thread.run(Thread.java:748) Caused: java.io.IOException: Key exchange was not finished, connection is closed. at com.trilead.ssh2.transport.KexManager.getOrWaitForConnectionInfo(KexManager.java:95) at com.trilead.ssh2.transport.TransportManager.getConnectionInfo(TransportManager.java:237) at com.trilead.ssh2.Connection.connect(Connection.java:732) Caused: java.io.IOException: There was a problem while connecting to git.host.com:6999 at com.trilead.ssh2.Connection.connect(Connection.java:781) at com.trilead.ssh2.Connection.connect(Connection.java:638) at com.trilead.ssh2.Connection.connect(Connection.java:578) at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:29) Caused: org.eclipse.jgit.errors.TransportException: ssh://git@git.host.com:6999/org/project.git: Failed to connect at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:52) at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:140) at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.(TransportGitSsh.java:280) at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:170) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:138) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:124) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1293) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:244) Caused: org.eclipse.jgit.api.errors.TransportException: ssh://git@git.host.com:6999/org/project.git: Failed to connect at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:255) at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:628) Caused: hudson.plugins.git.GitException at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:630) at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:370) at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(AbstractGitSCMSource.java:330) at jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:396) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:582) at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:98) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:309) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428)