Using Model Variables for SSH Authentication

You can specify authentication credentials using model variables. Model variables are placeholders for data and are very useful when specifying fixed values, such as host user IDs and passwords.

A list of default variables are listed when you create a new model. If you selected Remember values when setting values using the Design Tool, the values are assigned to the associated model variable.

Variable name Map to setting
userID Host User Name
password Host password
SSHPublicKey SSH Public key file
SSHPrivateKey SSH Private key file
SSHPassPhrase SSH passphrase for the private key

Setting model variable values in the Administrative Console

Model variable values that are set using the Design Tool are stored in the model file. To remove this sensitive data from the model file and store it on the Session server:

  1. After setting authentication variable values in the Variables dialog box, test the model.
  2. If successful, remove the values for the password, username, and passphrase variables.
  3. Deploy the model to the Session server.
  4. In the Administrative Console, open the Properties page for the session pool associated with the model and re-enter the model variable values. If you need to provide a unique model variable value for each session in the pool, create a model variable list that contains a set of values for the model variables in the model on which your session pool is based.

If the Session server is not able to connect because the values are not set, an error message is written to the Session server log file: An error occurred in communications - SSH password authorization failed (username/password).


Related Topics
Bullet SSH Authentication Options
Bullet Configuring a VT session
Bullet Advanced VT SSH Options
Bullet Using SSH: Overview