I have the following and i need to clone the repository in either windows terminal command prompt or linux.
- URL: [email protected]:xxx/xxx/git
- username: [email protected]
- SSH key: ssh-rsa [email protected]
I tried as :
git clone [email protected]:xxx/xxx/git
I get
Permission denied(public key)
Couldn't read from remote repository
Also tried to change the URL as:
git clone https://xxxxx.com:xxx/xxx/git
~/.ssh/id_rsa.pub
in your account profile (e.g. GitHub, BitBucket)?