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

Lee ler762 at gmail.com
Mon Dec 19 19:09:20 UTC 2016


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).

Thanks,
Lee



More information about the Rancid-discuss mailing list