I have the following and i need to clone the repository in either windows terminal command prompt or linux.

* **URL:** git@xxxxx.com:xxx/xxx/git
* **username:** xxx@xxx.in
* **SSH key:** ssh-rsa AAAAB3NzaC1yxxxxxxxxxxxx....xxx@xxx.in

I tried as :

```
git clone git@xxxxx.com: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

```