SSH keeps requesting for password
Symptom
After entering command lg2 clone, the SSH keeps asking for password, instead of performing the clone.
This has a chance to happen, or it is to specific repositories, I’m not sure.
Example
In this case, I have no password set for that key, so I just pressed Enter when it says
Password:, then the password request shows up again.
To confirm that my SSH authentication is working, I cloned another repo which is this repo, and it was cloned.
Same issue occurred when I was cloning other repos a few days ago, however after several tries and restarts I managed to clone. This time it just not cloning.
Spec
- Machine: iPad Pro 3
- OS: iPadOS 16.5
- a-Shell: from App Store
I have no idea what is happening. The fact that the key works for another repository means there are no problems with the key itself, or with the identification method. I tried cloning the same repository you tried, and it worked on my end. I didn't even have to enter a password for the key.
Do you have a ~/Documents/.ssh/config file?
I have no idea what is happening.
The fact that the key works for another repository means there are no problems with the key itself, or with the identification method. I tried cloning the same repository you tried, and it worked on my end. I didn't even have to enter a password for the key.
Do you have a
~/Documents/.ssh/configfile?
Hours later I tried cloning the repo, and it worked, so it's not the SSH's issue. I'll try using a config file to skip that step, thx.
Update:
- With this issue, sometimes the repo's folder is created, sometimes the
.gitfolder is created as well, but not actually cloning anything. - When the problem occurs, the
lg2 clonecommand does not show up inhistory.