Install a credential provider that can do the prompting, e.g.:
On Thu, May 17, 2012 at 3:30 AM, Borislav Kapukaranov
> I'm exploring JGit's api and wondered how I could clone a repo from SSH but
> without having my public key configured(this already works great).
> Normally if you don't have you key configured git would ask for a password
> for your user.
> How is this achieved with Jgit, can I make it prompt me for a password in
> such SSH connection?
> Probably the same question applies to HTTPS connections?