You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Antoine Toulme <an...@lunar-ocean.com> on 2011/07/08 19:30:40 UTC

Re: Patch for forcing password auth only in SSH/SFTP

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 <ma...@gmail.com>

> 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 <ma...@gmail.com> wrote:
> > By the way, I tried with PasswordAuthentication yes and that didn't help.
> >
> >
> > On 5/7/11, Marc-André Laverdière <ma...@gmail.com> 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" <al...@gmail.com>
> wrote:
> >>> /5/5 Marc-André Laverdière <ma...@gmail.com>
> >>>
> >>>> 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
>

Re: Patch for forcing password auth only in SSH/SFTP

Posted by Antoine Toulme <an...@lunar-ocean.com>.
Sorry BUILDR-595.

2011/7/9 Antoine Toulme <an...@lunar-ocean.com>

> OK :) I added a blurb of doc on BUILDR-596, would you please review it ?
>
>
> 2011/7/8 Marc-André Laverdière <ma...@gmail.com>
>
>> Hi,
>>
>> I think I did that previously. BUILDR-592 :D
>>
>> 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
>>
>>
>>
>>
>>
>> On Fri, Jul 8, 2011 at 11:00 PM, Antoine Toulme <an...@lunar-ocean.com>
>> wrote:
>> > 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 <ma...@gmail.com>
>> >
>> >> 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 <ma...@gmail.com>
>> wrote:
>> >> > By the way, I tried with PasswordAuthentication yes and that didn't
>> help.
>> >> >
>> >> >
>> >> > On 5/7/11, Marc-André Laverdière <ma...@gmail.com>
>> 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" <al...@gmail.com>
>> >> wrote:
>> >> >>> /5/5 Marc-André Laverdière <ma...@gmail.com>
>> >> >>>
>> >> >>>> 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
>> >>
>> >
>>
>
>

Re: Patch for forcing password auth only in SSH/SFTP

Posted by Antoine Toulme <an...@lunar-ocean.com>.
OK :) I added a blurb of doc on BUILDR-596, would you please review it ?

2011/7/8 Marc-André Laverdière <ma...@gmail.com>

> Hi,
>
> I think I did that previously. BUILDR-592 :D
>
> 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
>
>
>
>
>
> On Fri, Jul 8, 2011 at 11:00 PM, Antoine Toulme <an...@lunar-ocean.com>
> wrote:
> > 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 <ma...@gmail.com>
> >
> >> 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 <ma...@gmail.com>
> wrote:
> >> > By the way, I tried with PasswordAuthentication yes and that didn't
> help.
> >> >
> >> >
> >> > On 5/7/11, Marc-André Laverdière <ma...@gmail.com>
> 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" <al...@gmail.com>
> >> wrote:
> >> >>> /5/5 Marc-André Laverdière <ma...@gmail.com>
> >> >>>
> >> >>>> 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
> >>
> >
>

Re: Patch for forcing password auth only in SSH/SFTP

Posted by Marc-André Laverdière <ma...@gmail.com>.
Hi,

I think I did that previously. BUILDR-592 :D

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





On Fri, Jul 8, 2011 at 11:00 PM, Antoine Toulme <an...@lunar-ocean.com> wrote:
> 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 <ma...@gmail.com>
>
>> 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 <ma...@gmail.com> wrote:
>> > By the way, I tried with PasswordAuthentication yes and that didn't help.
>> >
>> >
>> > On 5/7/11, Marc-André Laverdière <ma...@gmail.com> 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" <al...@gmail.com>
>> wrote:
>> >>> /5/5 Marc-André Laverdière <ma...@gmail.com>
>> >>>
>> >>>> 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
>>
>