Not able to clone remote repository

I am trying to clone existing remote repository using SSH keys, but I get the following error:

'The remote repository could not be accessed.'


Using same key, I am able to clone it from command line but with Xcode, it is not working.

Please provide help.


Harshil