org.apache.sshd.common.RuntimeSshException: Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]

atlassian.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Bamboo git authentication fails from remote agent - Atlassian Answers

    atlassian.com | 7 months ago
    org.apache.sshd.common.RuntimeSshException: Failed to get the session.], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]

    Root Cause Analysis

    1. org.apache.sshd.common.RuntimeSshException

      Failed to get the session.

      at org.apache.sshd.client.future.DefaultConnectFuture.getSession()
    2. Apache Mina SSHD :: Core
      DefaultConnectFuture.getSession
      1. org.apache.sshd.client.future.DefaultConnectFuture.getSession(DefaultConnectFuture.java:43)
      1 frame
    3. com.atlassian.bamboo
      SshProxyCommand$2.run
      1. com.atlassian.bamboo.plugins.ssh.SshProxyCommand.startRemoteConnection(SshProxyCommand.java:187)
      2. com.atlassian.bamboo.plugins.ssh.SshProxyCommand.access$000(SshProxyCommand.java:31)
      3. com.atlassian.bamboo.plugins.ssh.SshProxyCommand$2$1.call(SshProxyCommand.java:134)
      4. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
      5. com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
      6. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)
      7. com.atlassian.bamboo.plugins.ssh.SshProxyCommand$2.run(SshProxyCommand.java:144)
      7 frames