Marc-Andre, in general we cannot take patches attached to email threads for
legal reasons.

You need to open a bug. You might want to attach your patch to BUILDR-595 to
help out.

Thanks for your contribution!

Antoine

2011/6/3 Marc-André Laverdière <[email protected]>

> Hello everyone,
>
> At last, I managed to figure out something.
> It is a bit crude, but it works.
>
> The way to send the SSH options is like this:
> repositories.release_to[:options]=
>  {:ssh_options=>{:auth_methods=> 'password'}}
>
> The patch is attached :)
>
>
> On 5/31/11, Marc-André Laverdière <[email protected]> wrote:
> > By the way, I tried with PasswordAuthentication yes and that didn't help.
> >
> >
> > On 5/7/11, Marc-André Laverdière <[email protected]> wrote:
> >> I will try that. It would be nice to document that thing though. I had
> an
> >> entry in that file but I did not know I could use it.
> >> On 06-May-2011 11:28 PM, "Alex Boisvert" <[email protected]>
> wrote:
> >>> /5/5 Marc-André Laverdière <[email protected]>
> >>>
> >>>> Hello everyone,
> >>>>
> >>>> Here is my first patch for buildr. I hope that many more are coming :)
> >>>>
> >>>
> >>> Hi Marc-André,
> >>>
> >>> I can see how that fixes the problem for you -- however it would likely
> >> not
> >>> work for other people who rely on key-based auth.
> >>>
> >>> The usual place for this kind of configuration is your ~/.ssh/config
> >>> file
> >>> where you can define host-specific settings.
> >>>
> >>> Here are the options that net:ssh supports,
> >>> http://net-ssh.github.com/ssh/v2/api/classes/Net/SSH/Config.html
> >>>
> >>> Perhaps you can try adding "PasswordAuthentication yes" in your
> >>> ~/.ssh/config and see if that works.
> >>>
> >>> <http://net-ssh.github.com/ssh/v2/api/classes/Net/SSH/Config.html>alex
> >>
> >
> >
> > --
> > Marc-André LAVERDIÈRE
> > "Perseverance must finish its work so that you may be mature and
> complete,
> > not lacking anything." -James 1:4
> > http://asimplediscipleslife.blogspot.com/
> > mlaverd.theunixplace.com
> >
>
>
> --
> Marc-André LAVERDIÈRE
> "Perseverance must finish its work so that you may be mature and complete,
> not lacking anything." -James 1:4
> http://asimplediscipleslife.blogspot.com/
> mlaverd.theunixplace.com
>

Reply via email to