[rancid] Rancid + Fortinet
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.
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
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" 192.168.0.51
spawn ssh -c 3des -x -l mozz 192.168.0.51
mozzi at 192.168.0.51'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:
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