Tools
Kiwi CatTools cannot log in to Device with a "login as:" prompt
This article describes an issue when Kiwi CatTools cannot log in to Device with a "login as:" prompt
First published date
Last published date
Overview
CatTools is designed to work on Generic Devices, but for some device that has specific settings, Device changes in the Cattools must be added to the device to fit the device requirements.
For example, there are devices like Cisco_SG250-08HP Device and other Cisco Devices with a "login as:" prompt, which does not fit the generic script CatTools has for all CiscoDevices.
The Kiwi Cattools is unable to login to the Device successfully and perform the backups.
Putty Logs Session Format shows:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2021.03.26 09:32:48 =~=~=~=~=~=~=~=~=~=~=~=
login as:
User Name:admin
Password:***********
From the Logs, getting an error message:
WFMDRetVal=1 Waiting for: "% Login invalid" WFMDRetVal=2 Waiting for: "% Authentication failed" WFMDRetVal=3 Waiting for: "User Name:" WFMDRetVal=4 Waiting for: "Password:" WFMDBuffer="[13][10][13]authentication failed[13][10][13][10]"
Product section
Cause
The expected response from CatTools was not received by the device.
Resolution
Option 1
Configure the Variation options for this Device
-
Launch Kiwi Cattools Manager.
-
Open the Device and click on the Variations tab>Use Variations
-
Navigate to Full Prompts Tab, enable and manually enter the Device's hostname for all four prompt fields.
FULL_HOSTNAMEID = insertdevicehostname FULL_VTYPROMPT = insertdevicehostname> FULL_ENABLEPROMPT = insertdevicehostname# FULL_CONFIGPROMPT =insertdevicehostname(
-
Navigate to Pre/Post-Login Tab, and set required keystrokes and messages pertaining to a device before or after the Device logs in.
PRE_LOGIN_KEYSTROKE = insertusername PRE_LOGIN_KEYSTROKE = CR PRE_LOGIN_MESSAGE = User Name:
-
Save.
Option 2
-
Edit Device
-
Go to Password Information
-
-
-
Enable "Initial Login Requires Password", "Initial Login requires username/password" and "Enable modes uses AAA username/password field"
-
Click Ok to save.
-
If it does not work, change the settings on Step 4 and test which option works for the device.