From: Cliff Rosson Date: 2013-05-09T03:54:09+09:00 Subject: Re: Connect to a switch with SSH --bcaec5299d1d31436104dc397573 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > > I have more than 3000 switchs. I need to work with default config =3D/ > Presumably you aren't testing your script on all 3000 switches. :) > The option "SSH User Authentication by Password" is disabled. To enable > this option on all switchs it would take like 1 month, but could be a > solution. > That is why I asked if you are authenticating by key or password. Clearly my script is for passwords only. You can see my keys array is left blank. You will have to modify the class to support that. No one is asking you to switch to password authentication if you don't want to. Once you get the key thing figured out feel free to share it here. I'd love to add that support to my ssh class. I'm trying to execute shell commands and interact with them with Ruby as yup > > I told on the first message of this topic. > > Btw, thanks for all the help. np. Good luck! On Wed, May 8, 2013 at 11:43 AM, Rud=E1 G. wrote: > I have more than 3000 switchs. I need to work with default config =3D/ > > The option "SSH User Authentication by Password" is disabled. To enable > this option on all switchs it would take like 1 month, but could be a > solution. > > I'm trying to execute shell commands and interact with them with Ruby as > I told on the first message of this topic. > > Btw, thanks for all the help. > > -- > Posted via http://www.ruby-forum.com/. > > --=20 vizualize.me/cliffrosson --bcaec5299d1d31436104dc397573 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I have more than 3000 switchs. I need to work with defau= lt config =3D/

Presumably you aren't testing yo= ur script on all 3000 switches. :)
=A0
The option &quo= t;SSH User Authentication by Password" is disabled. To enablethis option on all switchs it woul= d take like 1 month, but could be a
solution.

That is why I asked if you are authenticating by key= or password. Clearly my script is for passwords only. You can see my keys = array is left blank. You will have to modify the class to support that. No = one is asking you to switch to password authentication if you don't wan= t to.

Once you get the key thing figured out feel= free to share it here. I'd love to add that support to my ssh class.

I'm trying = to execute shell commands and interact with them with Ruby as

yup
=A0

I told on the first message of t= his topic.
=
Btw, thanks for= all the help.

np. Good luck!= =A0


On Wed, May 8, 2013 at 11:43 AM, Rud=E1 G. <lists@ruby-forum.com= > wrote:
I have more than 3000 switchs. I need to wor= k with default config =3D/

The option "SSH User Authentication by Password" is disabled. To = enable
this option on all switchs it would take like 1 month, but could be a
solution.

I'm trying to execute shell commands and interact with them with Ruby a= s
I told on the first message of this topic.

Btw, thanks for all the help.



--
=
vizualiz= e.me/cliffrosson
--bcaec5299d1d31436104dc397573--