From: Robert Klemme Date: 2013-05-07T16:32:36+09:00 Subject: Re: Errno::ECONNREFUSED in net/ssh --001a11c2c8742647b104dc1bd2e3 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Nov 22, 2012 at 9:27 PM, Luc Evers wrote: Had the same problem, solved by changing username/password by a variable. > How the heck is that supposed to remedy a network connection error? The latter has nothing to do with how you provide arguments to Net::SSH. It's rather *which arguments* you pass. The original code for example did not contain an assignment to $ipdddr... And please trim your quotes. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ --001a11c2c8742647b104dc1bd2e3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Thu, Nov 22, 2012 at 9:27 PM, Luc Evers <lucevers@gmail.com> wrote:

=A0 Had the same probl= em, solved by changing username/password by a variable.

How the heck is that supposed = to remedy a network connection error? =A0The latter has nothing to do with = how you provide arguments to Net::SSH. =A0It's rather *which arguments*= you pass. =A0The original code for example did not contain an assignment t= o=A0$ipdddr...<= /span>

And please trim your quotes.

Cheers

robert

--
remember.guy do |as, often| as.you_can - wi= thout end
http://blog.rubybestpractice= s.com/
--001a11c2c8742647b104dc1bd2e3--