Converting Pseudo connector SSH consoles to SSH connector consoles

From TDiWiki

Jump to: navigation, search

Using the Pseudo connector type for SSH connectivity in ConsoleWorks became obsolete with the release of ConsoleWorks 4.3 and the SSH connector type.

To convert your existing SSH connections from Pseudo to SSH follow the procedure below.

Note: Be sure to install your SSH connector type license. If you have a Pseudo connector license purchased before the release of ConsoleWorks 4.3, contact TDI support to exchange your existing license for an SSH connector license.

Examine your Pseudo connection scripts. These scripts are located in the ConsoleWorks invocation specific directory in the "pseudo_console" sub directory. It is likely that the SSH commands inside your scripts will look like one or more of the following examples:

  1. /usr/bin/ssh -tt -i /opt/ConsoleWorks/vFX/ssh_keys/id_dsa root:7005@10.10.1.32 (Avocent, Cyclades, etc)
  2. /usr/bin/ssh -i /opt/ConsoleWorks/vFX/ssh_keys/id_dsa 10.10.1.31 -p 2204 -t -t (Lantronix)
  3. /usr/bin/ssh -i /opt/ConsoleWorks/vFX/ssh_keys/id_dsa root@10.10.1.11 -t -t connect 1 (Think Logical)

These are representitive of the ssh commands necessary for various terminal servers. If your ConsoleWorks invocation is on Windows or OpenVMS the command lines will be slightly different but will have the same componants.

After examining your connection scripts it is necessary to import your ssh key(s) into ConsoleWorks. From the Admin > Server Management > SSH Keys menu item, follow the ConsoleWorks help on how to import ssh keys. The ssh key you want to import is the file following the -i switch in the examples.

Next select one of the consoles you wish to convert and open its configuration page for editing.

  • From the Connector pull down menu, select SSH with Public Key
  • Put the IP address or DNS name for the terminal server that is in the Pseudo script for this device
  • If the ssh command in the Pseudo script has a -p switch (example 2 above), place that value (usually a 4-digit number) in the Port field, otherwise put 22 in that field
  • If there is a string in front of an "@" sign in the ssh command from the Pseudo script (examples 1 and 3 above), put that string in the Username field. This will usually be root or root:xxxx where the xxxx represents a 4-digit number.
  • If there is a string at the end of the ssh command such as "connect 1" in example 3 above, put that string in the Command field
  • Select your Key File from the Key File pull down menu
  • Press the Save button in the lower right corner
  • After a few moments the Status of your connection should be NORMAL or some similar status
Personal tools