On Mon, Jul 9, 2012 at 5:43 PM, Martin Gagnon <[email protected]> wrote:

> Hi list..
>
> When I use ssh:// protocol on remote-url and I specify my usename in it:
>   e.g.:  ssh://user@host/path/to/repo.fossil
>
> Fossil prompt me for a password, I can enter anything and it work.
>
> I know that recently, authentication got bypassed when using ssh protocol,
> but it seems that the password prompt when specifying password in the
> remote-url  is still present while useless in ssh mode.
>
> I guess the prompt should be remove when using ssh://.
>
>
>    Note: it's not ssh itself asking me for password, I use keys, it's
> really fossil.
>
>
>
Here a patch I propose, I tried to use the "url_get_password_if_needed"
function for that case, but there was some duplicated conditions check and
I didn't want to re-order too much the code.. So I just add a simple
condition check in the proper place.

Regards

-- 
Martin G.

Attachment: ssh_noprompt.patch
Description: Binary data

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to