Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70741

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

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

       

            Unassigned Unassigned
            nitahinge Nita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: