Discussion:
[rancid] Foundry and SSH
Ryan Harden
2009-01-05 18:29:37 UTC
Permalink
Hello,

I have just set up rancid for the first time and I am having problems
getting it to successfully pull configs from a Foundry device over SSH.
This same device works properly over telnet but I get the following when
switching to SSH.

starting: Mon Jan 5 12:22:23 CST 2009


Trying to get all of the configs.
x.x.x.x: missed cmd(s): show chassis,show module,show flash,write term
x.x.x.x: End of run not found

Running bin/flogin x.x.x.x works just fine and I'm able to run commands,
but when run from the script it simply doesn't work. The device is an
MLX running 3.9.00a code.

Any ideas?

Thanks.

- --
Ryan M. Harden, BS, KC9IHX Office: 217-265-5192
CITES - Network Engineering Cell: 630-363-0365
2130 Digital Computer Lab Fax: 217-244-7089
1304 W. Springfield email: ***@illinois.edu
Urbana, IL 61801

University of Illinois at Urbana/Champaign
University of Illinois - ICCN
A***@HydroOne.com
2009-03-04 17:41:28 UTC
Permalink
Hi Ryan,

How have you defined Froundry login detail in .cloginrc?

Mine does not work.

Here is what I have in the .cloginrc file:

add user n08w ranciduser
add password n08w password
add enauser n08w ranciduser
add password n08w password
add method n08w ssh telnet


In the logs it says flogin : TIMEOUT? Can anyone assist here.


Atif.

-----Original Message-----
From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Ryan Harden
Sent: Monday, January 05, 2009 1:30 PM
To: rancid-***@shrubbery.net
Subject: [rancid] Foundry and SSH

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I have just set up rancid for the first time and I am having problems
getting it to successfully pull configs from a Foundry device over SSH.
This same device works properly over telnet but I get the following when
switching to SSH.

starting: Mon Jan 5 12:22:23 CST 2009


Trying to get all of the configs.
x.x.x.x: missed cmd(s): show chassis,show module,show flash,write term
x.x.x.x: End of run not found

Running bin/flogin x.x.x.x works just fine and I'm able to run commands,
but when run from the script it simply doesn't work. The device is an
MLX running 3.9.00a code.

Any ideas?

Thanks.

- --
Ryan M. Harden, BS, KC9IHX Office: 217-265-5192
CITES - Network Engineering Cell: 630-363-0365
2130 Digital Computer Lab Fax: 217-244-7089
1304 W. Springfield email: ***@illinois.edu
Urbana, IL 61801

University of Illinois at Urbana/Champaign
University of Illinois - ICCN
john heasley
2009-03-04 23:08:01 UTC
Permalink
Post by Ryan Harden
Hello,
I have just set up rancid for the first time and I am having problems
getting it to successfully pull configs from a Foundry device over SSH.
This same device works properly over telnet but I get the following when
switching to SSH.
starting: Mon Jan 5 12:22:23 CST 2009
Trying to get all of the configs.
x.x.x.x: missed cmd(s): show chassis,show module,show flash,write term
x.x.x.x: End of run not found
Running bin/flogin x.x.x.x works just fine and I'm able to run commands,
but when run from the script it simply doesn't work. The device is an
MLX running 3.9.00a code.
Any ideas?
Please try the patch below from Nick Buraglio; I do not understand why this
patch fixes the problem, but I haven't asked for debug output either. so,
please send (to me, not the list) the output of
flogin -d 'show version;show chassis;show module;show flash;\
write term;show running-config' host > output

http://www.shrubbery.net/pipermail/rancid-discuss/2009-February/003734.html
Loading...