Please make sure you have the correct access rights and the repository exists.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Generated public and private key using ssh-keygen -t rsa command on centos platform,

      Added pub key at git settings and private key specified as credentials in Jenkins.

      But in SCM step, facing below issue.

      ---------------------------------------------------------

      Failed to connect to repository : Command "/usr/bin/git ls-remote -h – git@github.com:******/********.git HEAD" returned status code 128:
      stdout:
      stderr: /tmp/jenkins-gitclient-ssh1109458182151314425.sh-copy: line 6: ssh: command not found
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      ---------------------------------------------------------

       

      Jenkins version upgraded - Jenkins 2.375.3

       

            Assignee:
            Unassigned
            Reporter:
            Nita
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: