[rancid] Rancid + Fortinet

Andy andy at benthamroad.co.uk
Tue Dec 7 12:18:54 UTC 2010

Is the prompt set to expect "#" in your nlogin script?

Line 458 in nlogin should be;
set prompt "\[#\\$] $"

That works for me.


-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Mozzi
Sent: 07 December 2010 09:15
To: rancid-discuss at shrubbery.net
Subject: [rancid] Rancid + Fortinet

Allo all

I have an issue with rancid backing up fortigate devices.
Everything seems correct, but when checking if nlogin works, it auto
logs in, but I get this:

rancid at thunderaxe:/backups/Networking/bin> ./nlogin -t 90 -c"get system
status;get conf"
spawn ssh -c 3des -x -l mozz
mozzi at's password: 
ONEFIRE # get system status

Error: TIMEOUT reached
rancid at thunderaxe:/backups/Networking/bin> get system status
If 'get' is not a typo you can use command-not-found to lookup the
package that contains it, like this:
    cnf get
rancid at thunderaxe:/backups/Networking/bin> 

Now I just don't understand!!


Rancid-discuss mailing list
Rancid-discuss at shrubbery.net

More information about the Rancid-discuss mailing list