[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Net:SSH bug (+ fix

Peter C. Verhage

2/17/2005 8:26:00 PM

Hi,

Just found a small bug in Net::SSH 1.0. Line 44 of services.rb contains
the following if statement:

if socket_name && socket_factory

If you use the Putty Agent the socket factory is enough for agent usage,
but because of this if statement you also have to set the SSH_AUTH_SOCK
environment variable to make use of the agent. This could be changed by
slightly changing the if statement to:

if (File::ALT_SEPARATOR || socket_name) && socket_factory

Thanks for the great library BTW!

Regards,

Peter
29 Answers

djberg96

2/17/2005 8:39:00 PM

0

Peter C. Verhage wrote:
> Hi,
>
> Just found a small bug in Net::SSH 1.0. Line 44 of services.rb
contains
> the following if statement:
>
> if socket_name && socket_factory
>
> If you use the Putty Agent the socket factory is enough for agent
usage,
> but because of this if statement you also have to set the
SSH_AUTH_SOCK
> environment variable to make use of the agent. This could be changed
by
> slightly changing the if statement to:
>
> if (File::ALT_SEPARATOR || socket_name) && socket_factory
>
> Thanks for the great library BTW!
>
> Regards,
>
> Peter

Nice spot. Please post patches, bug fixes, etc on the Net::SSH
RubyForge project page. Jamis is more likely to see it, and less
likely to forget it. :)

Regards,

Dan

Jamis Buck

2/17/2005 8:43:00 PM

0

On 05:30 Fri 18 Feb , Peter C. Verhage wrote:
> Hi,
>
> Just found a small bug in Net::SSH 1.0. Line 44 of services.rb contains
> the following if statement:
>
> if socket_name && socket_factory
>
> If you use the Putty Agent the socket factory is enough for agent usage,
> but because of this if statement you also have to set the SSH_AUTH_SOCK
> environment variable to make use of the agent. This could be changed by
> slightly changing the if statement to:
>
> if (File::ALT_SEPARATOR || socket_name) && socket_factory
>
> Thanks for the great library BTW!
>
> Regards,
>
> Peter

Thanks for the fix, Peter. I've committed it to the repository
(http://www.jamisbuck.org/s...) and it will be released
whenever I get some time to package the next release. :)

- Jamis

--
Jamis Buck
jamis_buck@byu.edu
http://jamis.jam...
------------------------------
"I am Victor of Borge. You will be assimil-nine-ed."



Jamis Buck

2/17/2005 10:26:00 PM

0

On 05:39 Fri 18 Feb , Daniel Berger wrote:
> Peter C. Verhage wrote:
> > Hi,
> >
> > Just found a small bug in Net::SSH 1.0. Line 44 of services.rb
> contains
> > the following if statement:
> >
> > if socket_name && socket_factory
> >
> > If you use the Putty Agent the socket factory is enough for agent
> usage,
> > but because of this if statement you also have to set the
> SSH_AUTH_SOCK
> > environment variable to make use of the agent. This could be changed
> by
> > slightly changing the if statement to:
> >
> > if (File::ALT_SEPARATOR || socket_name) && socket_factory
> >
> > Thanks for the great library BTW!
> >
> > Regards,
> >
> > Peter
>
> Nice spot. Please post patches, bug fixes, etc on the Net::SSH
> RubyForge project page. Jamis is more likely to see it, and less
> likely to forget it. :)

A very, very good point. It also provides a history of what work has
been done, and if someone else encounters a problem, they can quickly
discover whether anyone else has the same problem.

- Jamis

--
Jamis Buck
jamis_buck@byu.edu
http://jamis.jam...
------------------------------
"I am Victor of Borge. You will be assimil-nine-ed."



Gary Renzetti

1/26/2008 4:13:00 AM

0

Rob, it's a pleasure to see you back in this ng after so long an absence.
Welcome sir!

"R. Westermeyer" <robertwestermeyer@hotmail.com> wrote in message
news:o71jp3h9j87e38ct1pkh3ajctlsebiufpt@4ax.com...
> On Thu, 24 Jan 2008 12:19:52 +0000, Emil Tiades
> <emiltiades@marathon.org> wrote:
>
>>On Thu, 24 Jan 2008 06:08:24 -0600, Matt <mattbaylor@gmail.com> wrote:
>>
>>>Hamas, which took control of the coastal territory last June after a
>>>stand-
>>>off with Fatah, has denied that its men set off the explosions that
>>>brought
>>>down as much as two-thirds of the 12-km wall in the early hours.
>>>
>>
>>The money the bastards were given by do-gooders was spent on arms and
>>explosives as usual.
>>Now the bastards are gonna say they have no money to buy food.
>>Let them starve.
>
> Actually, you fucking tiny, racist ignorant wipe of wad, "they" didn't
> buy weapons because, being slowly extinguished th3e primary needs,
> such as food and provisions, prevail. . But if they had, it would have
> been bloody fine by me. they can't,however, because they don't have
> the US shitting out free weapons to European Jewish occupiers (EJO)
> for not even the cost of ass wipe. If they did acquire arms, I hope
> they were reliable and shiny pretty ones like the US allows your
> ungrateful colony to have, even in light of the fact that the
> delusions of those signing for them warrant institutionalisation, much
> less, "peace negotiations".
>
> The brazen hypocrisies of EJO can only thrive on the ignorance of the
> American people for so long. Eventually, people are going to wake up,
> and see beyond the dash of their SUVs and the half time break; realize
> their shame for allowing talk such as yours to occur in public without
> the same response cretinous little Nazi youth earn today. When people
> who claim to be have earned the gold metal for victimhood behave in
> the same manner as those they claim victimised them (their ancestors
> and the ancestors of friends and fellow templetons), well, you don't
> need a Ph.D. to understand the cowardly process.
>
> You, my ugly little hand-twat, will remain anonymously on Usenet, but
> quietly so. The behaviour of a coward is predictable, but not
> deliciously so, because you are not a challenge: even a cretin can do
> simple math.
>
> ==R


B'in'yamin C'r'amer

1/26/2008 4:50:00 AM

0


"Gary Renzetti" <lizgary@connection.com> wrote in message
news:a6e47$479abb37$d8fea02a$8187@PRIMUS.CA...
>
> <a little sanity>; "please" <rational@nospam.com> wrote in message
> news:fnc3gr$12n$1@pcls6.std.com...
>> In article <o71jp3h9j87e38ct1pkh3ajctlsebiufpt@4ax.com>,
>> R. Westermeyer <robertwestermeyer@hotmail.com> wrote:
>>
>> (deletia)
>>
>> All your rants and raves cannot hide the simple
>> truth: Israel totally withdrew from Gaza,
> YEAH, RIGHT!
> As if the residents of Gaza were free to travel, or reopen their airport,
> or build a port to trade internationatially, or even to catch fish in the
> Mediterranean. This is hardly a "total withdrawl" as you would have us
> swallow. More like the izzies left them "free" to starve.
>
> yet the Hamas
> Who are the legitimately ELECTED government, and the elections were held
> because the izzies demanded them, remember? Then, when the elections were
> not quite what the izzies wanted, they freak out and turn Gaza into the
> world's biggest konzentrazenlager and fuck over a million and half people?
>
>> (after happily murdering all the local opposition, e.g.
>> Fatah) continue to fire hundreds of rockets into
>> Israeli population centers.
>>
>> That's all there is to it: Gaza is ruled by
>> bloodthirsty barbarians, who *want* their people to
>> suffer, and who murder not only Israeli civilians, but
>> also their own "brothers" who dare disagree with them.
> I guess that's why the izzies won't even allow them to catch fish off
> their own coasts. EXPLAIN THIS PLEASE...
>>
>> Time to wipe the shit off your eyelids, boichick,
>> and see reality for what it is.
> Ain't no shit on my eyes, baby. It's why I pose the questions above. I
> await your reply.

It's the jacobsOn thing, Gary. No one of any consequence.



>
>
>

TheZ

1/26/2008 5:37:00 AM

0

Different day same bullshit.

"Gary Renzetti" <lizgary@connection.com> wrote in message
news:f2dc9$479ab540$d8fea02a$15017@PRIMUS.CA...
>
> "Day Brown" <daybrown@hughes.net> wrote in message
> news:0cacd778-ab5d-4da8-8b74-93ab5702b757@i12g2000prf.googlegroups.com...
>> On Jan 25, 1:19 am, R. Westermeyer <robertwesterme...@hotmail.com>
>> wrote:
>>> On Thu, 24 Jan 2008 12:19:52 +0000, Emil Tiades
>>>
>>> <emiltia...@marathon.org> wrote:
>>> >On Thu, 24 Jan 2008 06:08:24 -0600, Matt <mattbay...@gmail.com> wrote:
>>>
>>> >>Hamas, which took control of the coastal territory last June after a
>>> >>stand-
>>> >>off with Fatah, has denied that its men set off the explosions that
>>> >>brought
>>> >>down as much as two-thirds of the 12-km wall in the early hours.
>>>
>>> >The money the bastards were given by do-gooders was spent on arms and
>>> >explosives as usual.
>>> >Now the bastards are gonna say they have no money to buy food.
>>> >Let them starve.
>>>
>>> Actually, you fucking tiny, racist ignorant wipe of wad, "they" didn't
>>> buy weapons because, being slowly extinguished th3e primary needs,
>>> such as food and provisions, prevail. . But if they had, it would have
>>> been bloody fine by me. they can't,however, because they don't have
>>> the US shitting out free weapons to European Jewish occupiers (EJO)
>>> for not even the cost of ass wipe. If they did acquire arms, I hope
>>> they were reliable and shiny pretty ones like the US allows your
>>> ungrateful colony to have, even in light of the fact that the
>>> delusions of those signing for them warrant institutionalisation, much
>>> less, "peace negotiations".
>>>
>>> The brazen hypocrisies of EJO can only thrive on the ignorance of the
>>> American people for so long. Eventually, people are going to wake up,
>>> and see beyond the dash of their SUVs and the half time break; realize
>>> their shame for allowing talk such as yours to occur in public without
>>> the same response cretinous little Nazi youth earn today. When people
>>> who claim to be have earned the gold metal for victimhood behave in
>>> the same manner as those they claim victimised them (their ancestors
>>> and the ancestors of friends and fellow templetons), well, you don't
>>> need a Ph.D. to understand the cowardly process.
>>>
>>> You, my ugly little hand-twat, will remain anonymously on Usenet, but
>>> quietly so. The behaviour of a coward is predictable, but not
>>> deliciously so, because you are not a challenge: even a cretin can do
>>> simple math.
>> Well, how about simple history? Can you cite a time since Trajan
>> hauled the Jews to Rome that the indigeneous population left their ran
>> their own affairs in a civilized fashion? What makes you think they
>> can do so now?
> My Dear Brown Day, pray tell us HOW the manner in which they choose to run
> their affairs justifies their being kept in an open-air jail by a European
> oppresor? Wtf business do a bunch of refugees from a European war have
> dictating to and oppressing a local population of Middle Eastern Arabs and
> stealing their real estate?Who gives a rat's ass HOW they conduct their
> affairs as long as they don't threaten the rest of the world. They want
> their lives and lands returned or failing that, at least reasonable
> compensation for what was stolen from them.
>


TheZ

1/26/2008 5:38:00 AM

0

Its easy to get elected if you are the only party.
Different day same bullshit.

"Gary Renzetti" <lizgary@connection.com> wrote in message
news:a6e47$479abb37$d8fea02a$8187@PRIMUS.CA...
>
> <a little sanity>; "please" <rational@nospam.com> wrote in message
> news:fnc3gr$12n$1@pcls6.std.com...
>> In article <o71jp3h9j87e38ct1pkh3ajctlsebiufpt@4ax.com>,
>> R. Westermeyer <robertwestermeyer@hotmail.com> wrote:
>>
>> (deletia)
>>
>> All your rants and raves cannot hide the simple
>> truth: Israel totally withdrew from Gaza,
> YEAH, RIGHT!
> As if the residents of Gaza were free to travel, or reopen their airport,
> or build a port to trade internationatially, or even to catch fish in the
> Mediterranean. This is hardly a "total withdrawl" as you would have us
> swallow. More like the izzies left them "free" to starve.
>
> yet the Hamas
> Who are the legitimately ELECTED government, and the elections were held
> because the izzies demanded them, remember? Then, when the elections were
> not quite what the izzies wanted, they freak out and turn Gaza into the
> world's biggest konzentrazenlager and fuck over a million and half people?
>
>> (after happily murdering all the local opposition, e.g.
>> Fatah) continue to fire hundreds of rockets into
>> Israeli population centers.
>>
>> That's all there is to it: Gaza is ruled by
>> bloodthirsty barbarians, who *want* their people to
>> suffer, and who murder not only Israeli civilians, but
>> also their own "brothers" who dare disagree with them.
> I guess that's why the izzies won't even allow them to catch fish off
> their own coasts. EXPLAIN THIS PLEASE...
>>
>> Time to wipe the shit off your eyelids, boichick,
>> and see reality for what it is.
> Ain't no shit on my eyes, baby. It's why I pose the questions above. I
> await your reply.
>


B'in'yamin C'r'amer

1/26/2008 6:19:00 AM

0


"TheZ" <TheZ@nospam.com> wrote in message
news:AGzmj.3184$Ov2.2379@read2.cgocable.net...
> Its easy to get elected if you are the only party.

It's impossible to be elected in the Jewnited States unless you suck up to
the yids.



> Different day same bullshit.
>
> "Gary Renzetti" <lizgary@connection.com> wrote in message
> news:a6e47$479abb37$d8fea02a$8187@PRIMUS.CA...
>>
>> <a little sanity>; "please" <rational@nospam.com> wrote in message
>> news:fnc3gr$12n$1@pcls6.std.com...
>>> In article <o71jp3h9j87e38ct1pkh3ajctlsebiufpt@4ax.com>,
>>> R. Westermeyer <robertwestermeyer@hotmail.com> wrote:
>>>
>>> (deletia)
>>>
>>> All your rants and raves cannot hide the simple
>>> truth: Israel totally withdrew from Gaza,
>> YEAH, RIGHT!
>> As if the residents of Gaza were free to travel, or reopen their airport,
>> or build a port to trade internationatially, or even to catch fish in the
>> Mediterranean. This is hardly a "total withdrawl" as you would have us
>> swallow. More like the izzies left them "free" to starve.
>>
>> yet the Hamas
>> Who are the legitimately ELECTED government, and the elections were held
>> because the izzies demanded them, remember? Then, when the elections were
>> not quite what the izzies wanted, they freak out and turn Gaza into the
>> world's biggest konzentrazenlager and fuck over a million and half
>> people?
>>
>>> (after happily murdering all the local opposition, e.g.
>>> Fatah) continue to fire hundreds of rockets into
>>> Israeli population centers.
>>>
>>> That's all there is to it: Gaza is ruled by
>>> bloodthirsty barbarians, who *want* their people to
>>> suffer, and who murder not only Israeli civilians, but
>>> also their own "brothers" who dare disagree with them.
>> I guess that's why the izzies won't even allow them to catch fish off
>> their own coasts. EXPLAIN THIS PLEASE...
>>>
>>> Time to wipe the shit off your eyelids, boichick,
>>> and see reality for what it is.
>> Ain't no shit on my eyes, baby. It's why I pose the questions above. I
>> await your reply.
>>
>
>
>

Gary Renzetti

1/27/2008 4:01:00 AM

0

I guess that's why the poster styles itself "Day Brown"? Different "day"?
Hmmm?
But you're right. His post was indeed bullshit.

"TheZ" <TheZ@nospam.com> wrote in message
news:CFzmj.3183$Ov2.1754@read2.cgocable.net...
> Different day same bullshit.
>
> "Gary Renzetti" <lizgary@connection.com> wrote in message
> news:f2dc9$479ab540$d8fea02a$15017@PRIMUS.CA...
>>
>> "Day Brown" <daybrown@hughes.net> wrote in message
>> news:0cacd778-ab5d-4da8-8b74-93ab5702b757@i12g2000prf.googlegroups.com...
>>> On Jan 25, 1:19 am, R. Westermeyer <robertwesterme...@hotmail.com>
>>> wrote:
>>>> On Thu, 24 Jan 2008 12:19:52 +0000, Emil Tiades
>>>>
>>>> <emiltia...@marathon.org> wrote:
>>>> >On Thu, 24 Jan 2008 06:08:24 -0600, Matt <mattbay...@gmail.com> wrote:
>>>>
>>>> >>Hamas, which took control of the coastal territory last June after a
>>>> >>stand-
>>>> >>off with Fatah, has denied that its men set off the explosions that
>>>> >>brought
>>>> >>down as much as two-thirds of the 12-km wall in the early hours.
>>>>
>>>> >The money the bastards were given by do-gooders was spent on arms and
>>>> >explosives as usual.
>>>> >Now the bastards are gonna say they have no money to buy food.
>>>> >Let them starve.
>>>>
>>>> Actually, you fucking tiny, racist ignorant wipe of wad, "they" didn't
>>>> buy weapons because, being slowly extinguished th3e primary needs,
>>>> such as food and provisions, prevail. . But if they had, it would have
>>>> been bloody fine by me. they can't,however, because they don't have
>>>> the US shitting out free weapons to European Jewish occupiers (EJO)
>>>> for not even the cost of ass wipe. If they did acquire arms, I hope
>>>> they were reliable and shiny pretty ones like the US allows your
>>>> ungrateful colony to have, even in light of the fact that the
>>>> delusions of those signing for them warrant institutionalisation, much
>>>> less, "peace negotiations".
>>>>
>>>> The brazen hypocrisies of EJO can only thrive on the ignorance of the
>>>> American people for so long. Eventually, people are going to wake up,
>>>> and see beyond the dash of their SUVs and the half time break; realize
>>>> their shame for allowing talk such as yours to occur in public without
>>>> the same response cretinous little Nazi youth earn today. When people
>>>> who claim to be have earned the gold metal for victimhood behave in
>>>> the same manner as those they claim victimised them (their ancestors
>>>> and the ancestors of friends and fellow templetons), well, you don't
>>>> need a Ph.D. to understand the cowardly process.
>>>>
>>>> You, my ugly little hand-twat, will remain anonymously on Usenet, but
>>>> quietly so. The behaviour of a coward is predictable, but not
>>>> deliciously so, because you are not a challenge: even a cretin can do
>>>> simple math.
>>> Well, how about simple history? Can you cite a time since Trajan
>>> hauled the Jews to Rome that the indigeneous population left their ran
>>> their own affairs in a civilized fashion? What makes you think they
>>> can do so now?
>> My Dear Brown Day, pray tell us HOW the manner in which they choose to
>> run their affairs justifies their being kept in an open-air jail by a
>> European oppresor? Wtf business do a bunch of refugees from a European
>> war have dictating to and oppressing a local population of Middle Eastern
>> Arabs and stealing their real estate?Who gives a rat's ass HOW they
>> conduct their affairs as long as they don't threaten the rest of the
>> world. They want their lives and lands returned or failing that, at least
>> reasonable compensation for what was stolen from them.
>>
>
>


R. Westermeyer

1/27/2008 6:55:00 AM

0

On Fri, 25 Jan 2008 19:59:00 +1000, "B'in'yamin C'r'amer"
<hebesRturdz@best.com> wrote:

>Welcome back, Robert.
>
>Good to see you're still in prime form ;-)
>

>On Fri, 25 Jan 2008 23:12:58 -0500, "Gary Renzetti" <lizgary@connection.com> wrote:

>Rob, it's a pleasure to see you back in this ng after so long an absence.
>Welcome sir!
> o


Thank you guys. I'm flattered you remember me, given the fucking smog
and rising sewer-tide of ignorant Israel sympathy and Jew supremacy I
see has only become more blackviscous, and taken out more shoreline.

I too am glad to see you have not dropped the banner. With the
fantastic break in the wall--coupled with people's now "legitimate"
right to speak about AIPAc and such, and the very idea that Israel is
coming up at all in the debates might mean that the voice will become
louder demanding a solution to this sickening Jewfeed/Jewlead quagmire
this country has been mired in.

--R



>"R. Westermeyer" <robertwestermeyer@hotmail.com> wrote in message
>news:o71jp3h9j87e38ct1pkh3ajctlsebiufpt@4ax.com...
>> On Thu, 24 Jan 2008 12:19:52 +0000, Emil Tiades
>> <emiltiades@marathon.org> wrote:
>>
>>>On Thu, 24 Jan 2008 06:08:24 -0600, Matt <mattbaylor@gmail.com> wrote:
>>>
>>>>Hamas, which took control of the coastal territory last June after a
>>>>stand-
>>>>off with Fatah, has denied that its men set off the explosions that
>>>>brought
>>>>down as much as two-thirds of the 12-km wall in the early hours.
>>>>
>>>
>>>The money the bastards were given by do-gooders was spent on arms and
>>>explosives as usual.
>>>Now the bastards are gonna say they have no money to buy food.
>>>Let them starve.
>>
>> Actually, you fucking tiny, racist ignorant wipe of wad, "they" didn't
>> buy weapons because, being slowly extinguished th3e primary needs,
>> such as food and provisions, prevail. . But if they had, it would have
>> been bloody fine by me. they can't,however, because they don't have
>> the US shitting out free weapons to European Jewish occupiers (EJO)
>> for not even the cost of ass wipe. If they did acquire arms, I hope
>> they were reliable and shiny pretty ones like the US allows your
>> ungrateful colony to have, even in light of the fact that the
>> delusions of those signing for them warrant institutionalisation, much
>> less, "peace negotiations".
>>
>> The brazen hypocrisies of EJO can only thrive on the ignorance of the
>> American people for so long. Eventually, people are going to wake up,
>> and see beyond the dash of their SUVs and the half time break; realize
>> their shame for allowing talk such as yours to occur in public without
>> the same response cretinous little Nazi youth earn today. When people
>> who claim to be have earned the gold metal for victimhood behave in
>> the same manner as those they claim victimised them (their ancestors
>> and the ancestors of friends and fellow templetons), well, you don't
>> need a Ph.D. to understand the cowardly process.
>>
>> You, my ugly little hand-twat, will remain anonymously on Usenet, but
>> quietly so. The behaviour of a coward is predictable, but not
>> deliciously so, because you are not a challenge: even a cretin can do
>> simple math.
>>
>> ==R
>