Friday, April 5, 2024

Add Button Bar in Secure CRT

You can add a Button Bar in Secure CRT to send a string command in your SSH session. This will "automate" frequently typed commands to a Cisco device. To add a button, right-click at the bottom of the terminal screen > select Button Bar.

Alternatively, go to View > select Button Bar.

Select New Button.

Select Function: Send String > type a command String > optional: type a Label > click OK.



In newer versions of Secure CRT, you can choose the button color.

Notice there's a "break" in the output and had an invalid input. This typically happens when the output is very long such as the show version command output.


In order to avoid this, you should the include terminal length 0 command at the start of the string. Right-click on the button > select Edit Button. You can use a Notepad to edit strings and then copy/paste in Secure CRT.