Trying unsuccessfully to use SQL Developer 4 against a Git repository with the SSH protocol.
Windows 7 64Bit
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
When I try to clone a Git Repository I receive the error message, "Error connecting to Git Repository ssh://gittest/var/git/my-project.git."
The Details are no help, "ssh://myuser@gittest/var/git/my-project.git: Auth cancel"
I can use command line tools successfully to clone the repository over ssh.
The server is using the following versions of Git and SSH:
git version 22.214.171.124
Sun_SSH_1.5, SSH protocols 1.5/2.0, OpenSSL 0x1000104f
Unfortunately, no. I have not been able to get it to work. I have not had anyone reply with any ideas in how to get it to work.
Oracle is avertising Git integration as a feature (SQL Developer Feature List). However, it does not work.
I was able to clone from GitHub just now. However, I did it from a DEV build that's NEWER than the EA3 copy that you folks have. Internally we've been testing from a in-house GIT repository. I will endeavor to get this working in the EA3 to confirm what you have should work too, but for now this is all I can personally confirm or attest to.
So, I tried again and I can clone a Bitbucket repo from HTTPS fine but not from SSH. For SSH, I tried unauthenticated, authenticated with name / pass, and authenticated with a key. On Github, I can clone unauthenticated both ways but cannot clone if using SSH auth. I have tried this from Windows and Mac both.
I can clone using ssh form the github. I used windows install for git and windows bash to test that I was all set up and could clone using the windows git install with ssh.
I followed instructions here:
At step 4 I got the expected connection message
Now I tried in SQL Developer
In SQL Developer 4 I cloned using the following fields
repository name: origin
repository URL: The one I got from the github page for ssh eg firstname.lastname@example.org:<username>/test.git
user name: BLANK (this should not be set or you get the auth failure message)
Private key file: the rsa file (not the pub one)
Passphrase: the one you entered
Can you confirm you are using similar field values for github ssh connection