[rancid] RANCID - Password Error using Telnet on Cisco Switch

John Heasley heas at shrubbery.net
Mon Dec 19 23:24:41 UTC 2016


Am 19.12.2016 um 14:09 schrieb Lee <ler762 at gmail.com>:
> 
>> On 12/19/16, heasley <heas at shrubbery.net> wrote:
>> Mon, Dec 19, 2016 at 10:42:28AM -0600, JP:
>>> Setting up RANCID on CENTOS6
>>> 
>>> in .cloginrc I put this line:
>>> 
>>> add password x.x.x.45 {xxxxxx!} {xxxxxx!}
>>> 
>>> When I try and test my password configuration it fails:
>>> 
>  <.. snip ..>
>>> 
>>> My password works fine when I enter it manually.
>>> 
>>> My password contains a " ! " character - could this be causing the
>>> problem?
>> 
>> add password glob {foo\!bar}
> 
> Just out of curiosity - why would you need to escape the ! when it's inside {}s?
> 
> I've got a ! in one of my passwords and
> add password devname {pass!word}
> works fine for ssh (I don't use telnet any more).

Maybe the escaping isnt necessary for !, but it shouldnt hurt. I think i put a list in the manpage. 

> 
> Thanks,
> Lee



More information about the Rancid-discuss mailing list