Discussion:
[rancid] rancid poll failing
Steve Madel
2011-06-23 21:09:43 UTC
Permalink
I have set up a new router for rancid to poll. I can login to the router via ssh with the rancid user and enable password but, when it tries to poll or I use clogin from the command line it fails. Any suggestions?

Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant . Intelligent . Security
Shellhammer, Erich S
2011-06-24 13:25:37 UTC
Permalink
Does it fail to connect, or just not send commands... You can also check your banner for special characters like #.

My Banner has # boarders... I had to change clogin to ignore autoenable features in the script.

 
Erich Shellhammer  |  Network Tools Engineer | Global Outsourcing and Infrastructure Services
Unisys  |  9500 Metric Blvd Suite 100  | Austin, TX 78758  |  Office: 512.719.9626 | Mobile:512.851.7116  
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers






-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Madel
Sent: Thursday, June 23, 2011 4:10 PM
To: rancid-***@shrubbery.net
Subject: [rancid] rancid poll failing

I have set up a new router for rancid to poll. I can login to the router via ssh with the rancid user and enable password but, when it tries to poll or I use clogin from the command line it fails. Any suggestions?

Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant . Intelligent . Security _______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Steve Madel
2011-06-24 13:44:14 UTC
Permalink
It appears to bomb out on the password. Here is the output of running
rancid with the debug flag.

spawn ssh -c 3des -x -l rancid c2960
Password:
Password:
Password:
***@c2960's password:




Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant .
Intelligent . Security
Post by Shellhammer, Erich S
Does it fail to connect, or just not send commands... You can also check
your banner for special characters like #.
My Banner has # boarders... I had to change clogin to ignore autoenable
features in the script.
Erich Shellhammer | Network Tools Engineer | Global Outsourcing and
Infrastructure Services
512.719.9626 | Mobile:512.851.7116
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers
-----Original Message-----
Sent: Thursday, June 23, 2011 4:10 PM
Subject: [rancid] rancid poll failing
I have set up a new router for rancid to poll. I can login to the router
via ssh with the rancid user and enable password but, when it tries to
poll or I use clogin from the command line it fails. Any suggestions?
Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant . Intelligent
. Security _______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Shellhammer, Erich S
2011-06-24 15:50:14 UTC
Permalink
I would check the .cloginrc file and see if user/pass is correct, or no hidden spaces/characters... It looks like it's attempting to use the password.

 
Erich Shellhammer  |  Network Tools Engineer | Global Outsourcing and Infrastructure Services
Unisys  |  9500 Metric Blvd Suite 100  | Austin, TX 78758  |  Office: 512.719.9626 | Mobile:512.851.7116  
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers






-----Original Message-----
From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Steve Madel
Sent: Friday, June 24, 2011 8:44 AM
To: rancid-***@shrubbery.net
Subject: Re: [rancid] rancid poll failing

It appears to bomb out on the password. Here is the output of running rancid with the debug flag.

spawn ssh -c 3des -x -l rancid c2960
Password:
Password:
Password:
***@c2960's password:




Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant .
Intelligent . Security
Post by Shellhammer, Erich S
Does it fail to connect, or just not send commands... You can also
check your banner for special characters like #.
My Banner has # boarders... I had to change clogin to ignore autoenable
features in the script.
Erich Shellhammer | Network Tools Engineer | Global Outsourcing and
Infrastructure Services Unisys | 9500 Metric Blvd Suite 100 |
512.719.9626 | Mobile:512.851.7116
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY MATERIAL and is thus for use only by the intended
recipient. If you received this in error, please contact the sender and
delete the e-mail and its attachments from all computers
-----Original Message-----
Sent: Thursday, June 23, 2011 4:10 PM
Subject: [rancid] rancid poll failing
I have set up a new router for rancid to poll. I can login to the
router via ssh with the rancid user and enable password but, when it
tries to poll or I use clogin from the command line it fails. Any suggestions?
Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant .
Intelligent . Security _______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Steve Madel
2011-06-24 15:52:30 UTC
Permalink
Password was the issue. Fat fingered it in the .cloginrc.
I would check the .cloginrc file and see if user/pass is correct, or no
hidden spaces/characters... It looks like it's attempting to use the
password.
Erich Shellhammer | Network Tools Engineer | Global Outsourcing and
Infrastructure Services
512.719.9626 | Mobile:512.851.7116
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers
-----Original Message-----
Sent: Friday, June 24, 2011 8:44 AM
Subject: Re: [rancid] rancid poll failing
It appears to bomb out on the password. Here is the output of running
rancid with the debug flag.
spawn ssh -c 3des -x -l rancid c2960
Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant .
Intelligent . Security
Post by Shellhammer, Erich S
Does it fail to connect, or just not send commands... You can also
check your banner for special characters like #.
My Banner has # boarders... I had to change clogin to ignore autoenable
features in the script.
Erich Shellhammer | Network Tools Engineer | Global Outsourcing and
Infrastructure Services Unisys | 9500 Metric Blvd Suite 100 |
512.719.9626 | Mobile:512.851.7116
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
PROPRIETARY MATERIAL and is thus for use only by the intended
recipient. If you received this in error, please contact the sender and
delete the e-mail and its attachments from all computers
-----Original Message-----
Sent: Thursday, June 23, 2011 4:10 PM
Subject: [rancid] rancid poll failing
I have set up a new router for rancid to poll. I can login to the
router via ssh with the rancid user and enable password but, when it
tries to poll or I use clogin from the command line it fails. Any
suggestions?
Thanks
Steve Madel | Phone: 402.361.3047 | Solutionary | Relevant .
Intelligent . Security _______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Continue reading on narkive:
Loading...