[rancid] Rancid + Fortinet
Andy
andy at benthamroad.co.uk
Tue Dec 7 12:18:54 UTC 2010
Hi,
Is the prompt set to expect "#" in your nlogin script?
Line 458 in nlogin should be;
set prompt "\[#\\$] $"
That works for me.
Andy
-----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" 192.168.0.51
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:
cnf get
rancid at thunderaxe:/backups/Networking/bin>
Now I just don't understand!!
Mozzi
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
More information about the Rancid-discuss
mailing list