SSH Shell - run command on BEFORE DISCONNECT

Implemented

SSH Shell - run command on BEFORE DISCONNECT

avatar

Hello to the Team !

For CISCO (or HP) devices, switches, routers,..I try to run specific commands BEFORE DISCONNECT on SSH Shell within RDM.

these commands are meant to be used by our support, without having doing them manually.

A simple example would be:

copy running-config tftp://192.168.194.75/$IP$-$DATE_TEXT$.txt

If I put this command in the POST-LOGIN tab, this is working well

but not in the BEFORE DISCONNECT tab :/

I ran many checks and I see that commands in BEFORE DISCONNECT tab are working well IF you open 2 sessions of the same SSH Shell (heu)

mayday :)

___________________

Another very coooool feature would be able to add a list of command like this example

sh interfaces status

sh version

sh log

wr mem

This seems to be forseen in this BEFORE DISCONNECT tab but this is not working

___________________

We are running RDM Enterprise 2019.2.24.0 64BIT.

Can you help us ?

MANY Thanks for your follow-up !

Michael

All Comments (12)

avatar

Hi Michael,

Thank you for contacting us, I will do some test at the. Before disconnect features and come back to you soon.

Regarding, the new features, just to not mixed issues and feature I will recommend posting them at https://forum.devolutions.net/forums/17/remote-desktop-manager--feature-request

Regards,

David Grandolfo

avatar

Sadly, I wasn't able to reproduce the issue.

Could you do two tests for us?

The first one is to remove the TFTP call in the command line. Probably we send the command but we are not waiting long enough for the file transfer. So please try the command

copy running-config $IP$-$DATE_TEXT$.txt

The second test will be to enable the Verbose and Logs and the Printable Output and look at the logs file if the command is send properly.

Regards,

David Grandolfo