Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config-repos: Error when running generate command with git path as source #3

Open
jrfnl opened this issue Mar 17, 2021 · 1 comment

Comments

@jrfnl
Copy link
Member

jrfnl commented Mar 17, 2021

Using the config-repos branch and without changing anything, I tried to run the following from the root of this repository:

$ php ./bin/phpcsdocs generate

And got the following error response:

In GitCodeRepository.php line 26:

  The command "git clone "[email protected]:PHPCompatibility/PHPCompatibility.git" "var/repos/PHPCompatibility/"" failed.

  Exit Code: 128(Invalid exit argument)

  Working directory: D:\000_GitHub\PHPCS\PHPCSStandards\phpcs-docs

  Output:
  ================


  Error Output:
  ================
  Cloning into 'var/repos/PHPCompatibility'...
  Warning: Permanently added the RSA host key for IP address '140.82.121.3' to the list of known hosts.
  [email protected]: Permission denied (publickey).
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
@afilina
Copy link
Collaborator

afilina commented Mar 17, 2021

This looks like a missing SSH key on the server that's running the git command: [email protected]: Permission denied (publickey)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants