Re: [rancid] Rancid Login to device with wrong username and password

2018-02-25 Thread Sathish Kumar. Ippani
Thanks Shoaib,

Thanks for your inputs.

I have already configured .cloginrc with correct username and password also 
given cisco name for reference only.

Regards,
sathish

-Original Message-
From: Muhammad Shoaib [mailto:msho...@paciolan.com]
Sent: Monday, February 26, 2018 12:10 PM
To: rancid-discuss@shrubbery.net; Sathish Kumar. Ippani
Subject: Re: Rancid Login to device with wrong username and password

Hi Sathish,

You can define the following in your .cloginrc to use ³cisco² as a username as :

# Cisco switches
add user ciscoswitch01 cisco
add userpassword ciscoswitch01 {password} add password ciscoswitch01 {password} 
{password} add method ciscoswitch01 {ssh} {telnet}



The first line define the username Š here it is "cisco"
Second line is the password
Third line is the first and then enable password Last line is the method Š here 
it will try ssh first then telnet.
ciscoswitch01 - it is your device hostname and it should resolved to an ip 
address. You can use either DNS or /etc/hosts file for resolution.


As Heasley mentioned Š this file sits under rancid root directory and named 
³.cloginrc²

Also Randy has a point not to use ³cisco² as a username for security reason. 
You can create user ³rancid² or any other and update your .cloginrc file.

Hope it is helpful.

mS

---
Muhammad Shoaib
Sr. Mgr, Network Engineering





On 2/25/18, 12:00 PM, "Rancid-discuss on behalf of 
rancid-discuss-requ...@shrubbery.net"
<rancid-discuss-boun...@shrubbery.net on behalf of 
rancid-discuss-requ...@shrubbery.net> wrote:

>Send Rancid-discuss mailing list submissions to
>   rancid-discuss@shrubbery.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
>   http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>or, via email, send a message with subject or body 'help' to
>   rancid-discuss-requ...@shrubbery.net
>
>You can reach the person managing the list at
>   rancid-discuss-ow...@shrubbery.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Rancid-discuss digest..."
>
>
>Today's Topics:
>
>   1. Re: Rancid Login to device with wrong username and password
>  (Randy Bush)
>
>
>--
>
>Message: 1
>Date: Sat, 24 Feb 2018 10:17:12 -1000
>From: Randy Bush <ra...@psg.com>
>To: "Sathish Kumar. Ippani" <sathis...@ctrls.in>
>Cc: rancid-discuss@shrubbery.net
>Subject: Re: [rancid] Rancid Login to device with wrong username and
>   password
>Message-ID: <m2y3jixhvb.wl-ra...@psg.com>
>Content-Type: text/plain; charset=US-ASCII
>
>> Sat, Feb 24, 2018 at 10:15:33AM +, Sathish Kumar. Ippani:
>
>> I have configured deferent username(cisco) to login to cisco device.
> ^^^
>
>this is strongly NOT recommended for security reasons
>
>
>
>--
>
>Subject: Digest Footer
>
>___
>Rancid-discuss mailing list
>Rancid-discuss@shrubbery.net
>http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>--
>
>End of Rancid-discuss Digest, Vol 88, Issue 17
>**


 Disclaimer: The contents of this e-mail message and any attachments are 
confidential and are intended solely for the addressee. If you have received 
this transmission in error, please immediately notify the sender by return 
e-mail and delete this message and its attachments. Any unauthorized use, 
copying or dissemination of this transmission is prohibited. Neither the 
confidentiality nor the integrity of this message can be vouched for following 
transmission on the Internet.


___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Rancid Login to device with wrong username and password

2018-02-24 Thread heasley
Sat, Feb 24, 2018 at 10:15:33AM +, Sathish Kumar. Ippani:
> 
> Dear All,
> 
> I have recently installed Rancid and I added device.
> 
> But when I testing clogin to a cisco device it is login to device rancid 
> user, where I have configured deferent username(cisco) to login to cisco 
> device.
> 
> Please let me know, If I need to change any configuration.

your .cloginrc.  see clogin -[Mm]

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Rancid Login to device with wrong username and password

2018-02-24 Thread Sathish Kumar. Ippani

Dear All,

I have recently installed Rancid and I added device.

But when I testing clogin to a cisco device it is login to device rancid user, 
where I have configured deferent username(cisco) to login to cisco device.

Please let me know, If I need to change any configuration.



Thanks,

Sathish

Disclaimer: The contents of this e-mail message and any attachments are 
confidential and are intended solely for the addressee. If you have received 
this transmission in error, please immediately notify the sender by return 
e-mail and delete this message and its attachments. Any unauthorized use, 
copying or dissemination of this transmission is prohibited. Neither the 
confidentiality nor the integrity of this message can be vouched for following 
transmission on the Internet.
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss