Submitting ssh-key problem

Just submitting this note to anyone else having ssh-key submission problems.

Initial attempt at submitting my public key to the website by cut and paste failed; it seems when I pasted, the space after the string "ssh-rsa" gets deleted by the website edit box. Probably because the HTML edit box optimises the use of what appears to be a useless space character; but this breaks the key!

To rectify I explicitly entered a space character after the "ssh-rsa " and the key was accepted.

The original fault dump I was getting was:

Cloning into 'occt.git'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Best regards,

AnilSingh's picture

When I cloning the GIT Repository I am getting Putty Fatal Error: Disconnected: No supported authentication methods available(server sent; publickey).

I already add the SSH key still I getting this error. Please help me out to fix this issues.

Alexander ISHMURADOV's picture

Dear Mr. Singh,

apparently, you do not have the Pegagent running. The most likely reason of this is that you don't specify a private key when cloning repository. If you use TortoiseGit, please make sure that the "Load Putty Key"
option checked and location of the private key file (.ppk) is correct.
If you do this step, but still have the same error, try to start Pegagent manually (commonly on Windows: Start->All Programs->PuTTY->Pegagent). Now you could find Pegagent icon in tray. Please, double-click on it and add the appropriate private key. Try to clone the repository again.

This should help you, but if you have any troubles feel free to ask your questions.