'clone a git repo from google cloud platform
1) i've created a repo by the web console
2) i've created the ssh keys by putty keygen (RSA 2048bit)
3) private key saved in ./ssh
4) public key pasted on the dedicated section of the GCP (and the key has been correctly accepted)
when try to access the repo (clone) by git clone i get this message:
git clone ssh://[email protected]@source.developers.google.com:2022/p/gcp-team-blue/r/test
Cloning into 'test'...
[email protected]@source.developers.google.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
pay attention that if i clone the repo by the gcloud utility i can clone it successfully.
Are there other security options that have i set other than ssh keys?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
