Termux-packages: How to by login during git clone in termux

Created on 5 Nov 2017  路  32Comments  路  Source: termux/termux-packages

Whenever i tried to clone any script in my termux. It asks for username and password, i provide proper username and password but it said fatal:authentication failed
Plzz help me..

All 32 comments

With which command you are trying to clone ?
Command should be like:

git clone https://github.com/termux/termux-packages

Git clone and then location of script frm of github

But i m doing when my location is in sdcard it simply installed

Sey cloned

You are trying to clone only part of repository (script) ? If so, then you are doing the git clone wrong - only whole repository can be cloned.

I'm also facing same problem

I'm also facing same problem

I'm able to clone repos over git://, https:// and ssh to /sdcard without any problems (even on official Android 8). So, I guess that there is some problem with your ROM and not with git program.

When I am providing Username and password, it says repository not found

@Syedaanis You do something wrong. Post command that you typed if you want help. Git shouldn't ask user/pass if cloning public repos.

screenshot_20180523-220517_termux

I have successfully cloned repo with your command. I don't have prompted for entering user/password for accessing repo.

As I said above, possible that you have something wrong with your ROM.

So what can I do for that?

@Syedaanis you haven't spelled tmvenom correctly..

No its correct, whenever I click enter last alphabet goes dissappear.

Sounds like we isolated problem

So how did you fixed it? I have the same issue in a fresh termux install on my nexus5

Just noticed that the keyboard was SwiftKey, which my phone also preloads and I can reproduce the problem with it. No problem with the Xperia Chinese keyboard.

I use Google keyboard and getfatal: Authentication failed for 'https://ne....when cloning my repo after entering my password.
When cloning https://github.com/TechnicalMujeeb/tmvenom I'm not asked for any credentials and it works fine

Is it a private repo? (where authentication is expected?)

It's probably hard to tell if it's the same problem (i.e. Enter becomes Backspace + Enter) when it's a password field. Try a few other keyboard apps maybe. If it still doesn't work you may consider opening another issue.

So far I have no problem doing git push, so I don't feel like it's a git problem.

Correct, this is a private repo. I tried a different keyboard app without success.

I tried to put login/pass in the url git clone https://user:[email protected]/git/repo and I still get authentication failed, so this is not a keyboard issue. The same command on my PC works fine

How will I save my github

Same here

Same problem for this command
git clone https://github.com/LOoLzeC/DarkSploit

This generally happens when you copy paste something. The last character gets truncated

It's asking for GitHub username and password

I was facing same issue with Swift keyboard but then after switching to Aosp keyboard, it didn't ask for any credentials and cloned the repo.

Same with me git clone http://github
Ask for username and password why

I have this issue: git clone username for 'https //github.com'. Please help me solve this.

  • Check if URL is correct. It's common problem when you copy-pasting URLs on touch screen. Also, do not try to type whole URL by hand without understanding what its parts mean, URLs are very sensitive for typos and missing parts.

  • Check if repository exist. There no guarantee that URL you got somewhere on the Internet is not outdated. Internet is not permanent.

  • Check if you have access rights to repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

divyakutty picture divyakutty  路  3Comments

Zuccace picture Zuccace  路  3Comments

Cyb3rD3m0n picture Cyb3rD3m0n  路  3Comments

bbtdev picture bbtdev  路  3Comments

bkdwt picture bkdwt  路  3Comments