Android IDE (AIDE) Support Forum

Unable to git clone from github using ssh keys

I am unable to clone a git repo in AIDE.

I have my .ssh directory set to: “/storage/emulated/0/.ssh”

I have my private key in “/storage/emulated/0/.ssh/id_rsa”

It looks like this:
-----BEGIN EC PRIVATE KEY-----
BUNCH OF PRIVATE KEY STUFF
-----END EC PRIVATE KEY-----

I have the public key added to github.

I have tested the ssh connection using JuiceSSH and my private key, and it connects to github without issues.

I am trying to clone a repo URL like: git@github.com:owner/repo.git

When I try to clone it, I get the error message “Git clone failed: Algorithm negotiation fail”

It creates the new repo directory, and a .git folder, but it doesn’t actually clone the repo.

What am I doing wrong here?

Are you tried clone repo using web browser URL?

1 Like

As per my post, I am using a a url I the form:
git@github.com:owner/repo.git

1 Like

Try to use:

git clone https://user:password@github.com/user/repo

if doesn’t works, try to use Termux as git

1 Like

That works. Is Cloning with SSH URLs not supported by AIDE?

I think yes, i don’t like git guis

Have you figured how to fix it cause I’m having the same problem