Hi Roland,

Many thanks for the advise!, I'll try fnlogin then.

Kind regards.

On 28 December 2016 at 10:24, Roland Rosenfeld <[email protected]> wrote:

> Hi Héctor!
>
> On Wed, 28 Dec 2016, Héctor Sánchez wrote:
>
> > Package:rancid
> > Version:2.3.8-6
>
> > Clogin fails to connect to our fortigate devices (300D & 600D) using
> > read-only users, no issue using admin ones (except having to force an
> > specific cypher for newer fortigate firmware):
>
> Please try using fnlogin for Fortigate devices instead of clogin.
> This should work around your problems, since it is optimized for
> Fortigate.
>
> > root@rancid[PRO]:~# diff /usr/bin/clogin{,_bk}
> >
> > 788c788
> >
> > <     set prompt "(\\$|>|#| \\(enable\\))"
> >
> > ---
> >
> > >     set prompt "(>|#| \\(enable\\))"
>
> That's why you should use fnlogin:
>
>     # FortiOS 2.x prompts can end in either '#' or '$'
>     set prompt "\[#\\$] "
>
> Greetings
>
>         Roland
>



-- 

------------------------------
[image: Fon] <http://www.fon.com/>
Héctor Javier Sánchez Montes
<http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xC17CA721B12C6541>
Network Specialist
+34 912 91 76 83
Skype: hector.sanchez.fon
All information in this email is confidential
<https://fon.com/email-disclaimer/>

Reply via email to