Some time ago I had troubles with the backspace key while configuring a Brocade device. It did not do anything. The problem is, that my terminal (Konsole) does not send “Ctrl-H”, but the Brocade terminal expects it to delete a character before the cursor. To solve this problem, I have a small expect script, which intercepts the backspace key and sends the correct character to the device.
This file is saved under
/usr/local/bin/brocade-kbdfix and made executable.
Easy access with symlinks
As I’m lazy and want to have quick access to the devices I have to configure, I’ve created two scripts which helps me to connect to the device with the correct method (telnet or ssh):
They are saved as
Now comes the “magic”: For every device I create a symlink with the name of the device pointing to the apropriate connection method. F.e.:
/usr/local/bin/ is in your path, you can now just enter the name of the device and your connected to it,
including the correct connection method and the keyboard fix (assuming you have a DNS or hosts entry, or even a
Here is an example how I manage the configuration above with a small Puppet manifest: