Discussion:
[rancid] netscreen login issue
Hinote, Scotty (MSFC-IS40)[NICS]
2013-08-06 15:48:50 UTC
Permalink
Hi All,

I am trying to login to a Netscreen device using nlogin. There is a security message enabled that asks the user if they wish to connect and the last line is "Accept this agreement y/[n]". I need a way to pass a y and carriage return to bypass this message and proceed with login. Ultimately the goal is to backup the device using rancid-run. Any suggestions are greatly appreciated.

Thank you,
Scotty
Hinote, Scotty (MSFC-IS40)[NICS]
2013-08-13 18:07:19 UTC
Permalink
Hi All,

Since I was not able to find a way to work around this with scripting I asked the firewall administrator to disable the acknowledgement for the secondary banner. If anyone else is experiencing this same issue and you or your firewall admin is willing to make the change you will need to use the following command in the CLI.

unset admin auth banner ack-secondary

Or to disable the secondary banner completely.

unset admin auth banner secondary "agreement"

Thank you,
Scotty

From: rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Hinote, Scotty (MSFC-IS40)[NICS]
Sent: Tuesday, August 06, 2013 10:49 AM
To: 'rancid-***@shrubbery.net'
Subject: [rancid] netscreen login issue

Hi All,

I am trying to login to a Netscreen device using nlogin. There is a security message enabled that asks the user if they wish to connect and the last line is "Accept this agreement y/[n]". I need a way to pass a y and carriage return to bypass this message and proceed with login. Ultimately the goal is to backup the device using rancid-run. Any suggestions are greatly appreciated.

Thank you,
Scotty

Loading...