cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

How can I configure Cat Tools to connect to Dell SSH?

Jump to solution

I am attempting to configure Cat Tools to backup some of our Dell PowerConnect 5548s running-configs over SSH, however I am running into problems when initiating the SSH session. Since the Dell SSH on the appliance is built on top of Telnet, it prompts for a useless field "Login as:" before asking for the local username and password. This first field has no effect on whether or not you can authenticate to the device.

I cannot find a way to put in a carriage return or line-feed command to make the session continue to the "Username: " prompt.

I apologize for my sentence structure on this post.

Cheers,

Stefan

Tags (4)
1 Solution

Hi Nanda.

It took quite a bit of fiddling with cat tools and the switch to get the variations working. I had to create an MOTD banner for the SSH line and add it into the pre-login text in order for CatTools to correctly recognize and input the username and password fields. Thanks for your help with the troubleshooting.

Cheers,

Stefan

View solution in original post

0 Kudos
20 Replies
Level 15

Try following the steps in this link:

login as: prompt

0 Kudos
Level 15

You are getting press 'y' to continue (within 30 seconds) (y/n) could not read banner acknowledge".  How do you bypass this message when telnetting into this device?

0 Kudos

Telnet connexion (with PuTTY):

,-----.

Press 'y' to continue (within 30 seconds) (y/n) y

User:xxxxxxx

Password:xxxxxxx

DELL001813_1>en

DELL001813_1#

0 Kudos
Level 7

Hi,

I have the same problem... (with DELL PowerConnect 5424). Can you help me please...?

The debug report:

<NEWSESSION CatTools 3.11.2 03/10/2017 16:43:08>

<PROTOCOL=SSH2>

<DEVICE TYPE=Dell.Switch.CLI>

<ACTIVITY TYPE=Device.Backup.Running Config>

<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>

<USERS NAME FOR DEVICE=DELL001813>

<C OK 16:43:12>

<R-16:43:13>,-----. [13][10]Press 'y' to continue (within 30 seconds) (y/n)

<R-16:43:42>Could not read banner acknowledge

<D 16:43:42>

<SCRIPT VALUES>

<HOSTNAME="">

<PROMPT VTY="">

<PROMPT ENABLE="">

<PROMPT CONFIG="">

================================================================================

WFMDRetVal=1 Waiting for: ">"

WFMDRetVal=2 Waiting for: "#"

WFMDRetVal=3 Waiting for: "User Name"

WFMDRetVal=4 Waiting for: "user name:"

WFMDRetVal=5 Waiting for: "password:"

WFMDBuffer=",-----. [13][10]press 'y' to continue (within 30 seconds) (y/n) could not read banner acknowledge"

================================================================================

<NEWSESSION CatTools 3.11.2 03/10/2017 16:45:14>

<PROTOCOL=SSH2>

<DEVICE TYPE=Dell.Switch.CLI>

<ACTIVITY TYPE=Device.Backup.Running Config>

<ACTIVITY SCRIPT=C:\Program Files (x86)\CatTools3\Scripts\Client.Device.Backup.Running Config.txt>

<USERS NAME FOR DEVICE=DELL001813>

<C OK 16:45:17>

<R-16:45:18>,-----. [13][10]Press 'y' to continue (within 30 seconds) (y/n)

<R-16:45:47>Could not read banner acknowledge

<D 16:45:47>

<SCRIPT VALUES>

<HOSTNAME="">

<PROMPT VTY="">

<PROMPT ENABLE="">

<PROMPT CONFIG="">

================================================================================

WFMDRetVal=1 Waiting for: ">"

WFMDRetVal=2 Waiting for: "#"

WFMDRetVal=3 Waiting for: "User Name"

WFMDRetVal=4 Waiting for: "user name:"

WFMDRetVal=5 Waiting for: "password:"

WFMDBuffer=",-----. [13][10]press 'y' to continue (within 30 seconds) (y/n) could not read banner acknowledge"

================================================================================

Thanks for your help

0 Kudos
Level 12

Hello Stefan,

The latest CatTools version 3.10.0 is added variations feature to Dell.Switch.CLI device type. In that you can configure the Pre-login keys and messages under Pre/Post Login tab of variations as in attachment,

Please have a try and update me.

Thanks,

Nanda

0 Kudos

Hi Nanda.

I have installed 3.10 and have configured both the switch and CatTools with the correct information. I mirrored the variations to match what you have set up in your attached picture. I have tested the credentials that I setup and I can confirm they are working. I am still encountering errors though when trying CatTools tries to authenticate to the switch.

In the Info Log I can see cat tools initiate the SSH session and accept the key. However when it comes to using the supplied user name and password, the logs says the specified username is invalid for the device. I know that this cannot be correct as I have tested the credentials in an SSH session from the host running cat tools, as well as from other network locations. When I watch the switch console for error messages, I can see the device is rejecting the connection.

Is there a way to view what the SSH session is doing during the connection? It seems that the CatTools isn't recognizing the "login as:" prompt. I have specified the User Name and Password fields in the device settings, so I do not know what is causing the connection to fail.

0 Kudos

Hi Stefan,

Please do the following,

1.Enable capture mode in file menu

2.Run the configured activity

3.Find the folder called 'Debug' in the installed location.

4.Get the file in device name like 'DebugLog-X-<Device Name>' and share it with me (Please disable sensitive info like password as '**********').

5.Let me check it and update you.

6.From the same debug log file you can get the hint on what to do.

Thanks,

Nanda

0 Kudos

================================================================================

WFDRetVal=0. Waiting for: "login as:"

WFDBuffer="[13][10][13]authorized access only!!! any unauthorized access will be investigated. [13][10][13][13][10][13][13][10][13][10]user name:"

================================================================================

================================================================================

WFMDRetVal=1 Waiting for: "% Login invalid"

WFMDRetVal=2 Waiting for: "% Authentication failed"

WFMDRetVal=3 Waiting for: "User name:"

WFMDRetVal=4 Waiting for: "Password:"

WFMDBuffer=""

================================================================================

================================================================================

WFMDRetVal=1 Waiting for: "% Login invalid"

WFMDRetVal=2 Waiting for: "% Authentication failed"

WFMDRetVal=3 Waiting for: "User name:"

WFMDRetVal=4 Waiting for: "Password:"

WFMDBuffer=""

================================================================================

================================================================================

WFMDRetVal=1 Waiting for: "% Login invalid"

WFMDRetVal=2 Waiting for: "% Authentication failed"

WFMDRetVal=3 Waiting for: "User name:"

WFMDRetVal=4 Waiting for: "Password:"

WFMDBuffer=""

================================================================================

0 Kudos

Hello Stefan,

Can you please,

1.Share manual PuTTY log of commands being executed to take backup.(Should be from first key stroke to connect the device).

2.Share me the debug log of the device by run the activity without the variations. (Just disable the newly added prelogin keys/messages and save).

Also please add as attachment of those file instead of copy paste in the reply box. Attach menu can be found under 'Use advanced editor' option(this can be found on right top of reply box you are typing).

Thanks,

Nanda

0 Kudos

Hi Nanda.

I have set putty to log all of its output. Unfortunately it appears that when CatTools uses the putty client it doesn't log the output to a file. I have attached the debug output that was retrieved when not using any variations, as well as a manual ssh session showing what commands should be run to get a complete backup.

Cheers,

Stefan

0 Kudos

Hi,

when i am trying to communicate with any of the Dell device (DE3524,DE3548,DE3424) i am getting below error pls suggest.

%AAA-W-REJECT: New ssh connection for user enable level 15, source X.X.X.X destination Y.Y.Y.Y REJECTED

0 Kudos

How do you ssh into the devices through Putty?

0 Kudos

hi,

while logging into Dell switches/routers, we need to enter the username twice, does this varies anything..

Below snap is fyr,..

pls check & suggest .

pastedImage_0.png

0 Kudos

See Nanda' screenshot above.

0 Kudos

hi,

i have tried as per the nanda's screen shot . But still unable to login from Kiwicat. pls suggest

0 Kudos

hi,

while accessing from Putty, it is accepting the credentials, but the same is getting failed while logging via kiwi cat tool.

pls help

0 Kudos

Hello Stefan,

Can you please check the password entry for this particular device.

AAA Username and AAA Password should be filled under Password Tabs to connect with Telnet.

Thanks,

Nanda

0 Kudos

Hi Nanda.

It took quite a bit of fiddling with cat tools and the switch to get the variations working. I had to create an MOTD banner for the SSH line and add it into the pre-login text in order for CatTools to correctly recognize and input the username and password fields. Thanks for your help with the troubleshooting.

Cheers,

Stefan

View solution in original post

0 Kudos

That's nice to hear that you problem is solved now!

Have a Good Day

Nanda

0 Kudos

Hi Nanda.

Thanks for responding. I will schedule an update and get back to you with the results.

Regards,

Stefan    

0 Kudos