Reputation: 179
I'm totally confused with openshift+netbeans. This is my openshift app and repository address
When I try to "Clone repository" in order to develop locally I meet "Incorrect credentials for repository at ssh..." I also noticed that it is not possible to put the URL provided by openshift to "Repository URL" field in Netbeans "Clone repository" tool. Clone repository screenshot
Upvotes: 0
Views: 5079
Reputation: 1
From my experience I can tell that its just an user information miss match issue. I have two repository at bitbucket.org. I was trying to clone with wrong username/password from netbeans where Netbeans checks authentication. Suddenly i notice that and correct the username/password and BANG it works... no error!!!.
Upvotes: 0
Reputation: 179
OK, it works! So the solution is:
Upvotes: 1
Reputation: 97395
I meet "Incorrect credentials for repository at ssh..."
Yes, as expected, because you use (in Netbeans) strange and unknown username.
Format of ssh-URL is well-known and predefined. For SSH-served Git-repos it's
ssh://[USERNAME@]HOSTNAME:[PORT]/PATH/TO/REPO.git
optional parameters are []
-ed
If Netbeans doesn't accept username in URL, you must use same name, as suggested in app's configuration (long HEX-string), for SSH, not username [email protected]
(this is login for OpenShift, not for SSH).
And you can start from getting functional SSH-connection (SSH-client with interactive authentication) before configuring VCS settings in Netbeans
Upvotes: 1